| | |
| | | using DocumentServiceAPI.Application.WorkRemind.ViewMode; |
| | | using DocumentServiceAPI.Model.cyDocumentModel; |
| | | using DocumentServiceAPI.Utility; |
| | | using Microsoft.AspNetCore.Mvc.RazorPages; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | { |
| | | return _projectInfoService.GetDocClassificationList(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取分类列表postDocClassificationList |
| | | /// </summary> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public PageResult<DocClassificationDTO> postDocClassificationList(DocumentProjectInfoPageSearch page) |
| | | { |
| | | return _projectInfoService.postDocClassificationList(page); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取分类GetDocClassificationInfo |
| | | /// </summary> |
| | | /// <param name="ID"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetDocClassificationInfo(int ID) |
| | | { |
| | | return _projectInfoService.GetDocClassificationInfo(ID); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 删除系统分类删除GetDeleteDocClassDel |
| | | /// </summary> |
| | | /// <param name="ID"></param> |
| | | /// <param name="tenantId"></param> |
| | | /// <returns></returns> |
| | | public bool GetDeleteDocClassDel(int ID, int tenantId) |
| | | { |
| | | return _projectInfoService.GetDeleteDocClassDel(ID, tenantId); |
| | | } |
| | | |
| | | /// <summary> |
| | | ///删除分类GetDeleteDocClassification |
| | | /// </summary> |
| | | /// <param name="ID"></param> |
| | | /// <returns></returns> |
| | | public bool GetDeleteDocClassification(int ID) |
| | | { |
| | | return _projectInfoService.GetDeleteDocClassification(ID); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 保存系统分类SaveDocClassDelInfo |
| | | /// </summary> |
| | | /// <param name="dp"></param> |
| | | /// <returns></returns> |
| | | public bool SaveDocClassificationInfo(Doc_Classification dp) |
| | | { |
| | | return _projectInfoService.SaveDocClassificationInfo(dp); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存系统分类删除SaveDocClassDelInfo |
| | | /// </summary> |
| | | /// <param name="dp"></param> |
| | | /// <returns></returns> |
| | | public bool SaveDocClassDelInfo(Doc_ClassDel dp) |
| | | { |
| | | return _projectInfoService.SaveDocClassDelInfo(dp); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取分类列表GetDocClassificationList |
| | | /// </summary> |
| | | /// <param name="tenantId"></param> |
| | | /// <returns></returns> |
| | | public List<Doc_Classification> GetDocClassificationList(int tenantId) |
| | | { |
| | | return _projectInfoService.GetDocClassificationList(tenantId); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取分类GetDocClassificationByFileName |
| | | /// </summary> |
| | | /// <param name="tenantId"></param> |
| | | /// <param name="FileName"></param> |
| | | /// <param name="parent_code"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetDocClassificationByFileName(int tenantId, string FileName, string parent_code) |
| | | { |
| | | return _projectInfoService.GetDocClassificationByFileName(tenantId, FileName, parent_code); |
| | | } |
| | | /// <summary> |
| | | /// 获取最新分类编码 |
| | | /// </summary> |
| | | /// <param name="tenantId"></param> |
| | | /// <param name="parent_code"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetDocClassificationcode(int tenantId, string parent_code) |
| | | { |
| | | return _projectInfoService.GetDocClassificationcode(tenantId, parent_code); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取最大排序 |
| | | /// </summary> |
| | | /// <param name="tenantId"></param> |
| | | /// <param name="docclassificationcode"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetDocClassificationInfoMaxSortId(int tenantId, string docclassificationcode) |
| | | { |
| | | return _projectInfoService.GetDocClassificationInfoMaxSortId(tenantId, docclassificationcode); |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取最大排序 |
| | | /// </summary> |
| | | /// <param name="unitId"></param> |
| | | /// <param name="doccode"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetDocumentInfoMaxSortId(int unitId, string doccode) |
| | | { |
| | | return _projectInfoService.GetDocumentInfoMaxSortId(unitId, doccode); |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取最大排序 |
| | | /// </summary> |
| | | /// <param name="unitId"></param> |
| | | /// <returns></returns> |
| | | public Doc_Classification GetAchievementInfoMaxSortId(int unitId) |
| | | { |
| | | return _projectInfoService.GetAchievementInfoMaxSortId(unitId); |
| | | |
| | | } |
| | | } |
| | | } |