From ca12247dbc0728c7900db4188565d4c4f7d907c4 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 29 八月 2023 09:25:54 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService --- DocumentServiceAPI.Application/ProjectInfo/SheZhiController.cs | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 176 insertions(+), 0 deletions(-) diff --git a/DocumentServiceAPI.Application/ProjectInfo/SheZhiController.cs b/DocumentServiceAPI.Application/ProjectInfo/SheZhiController.cs new file mode 100644 index 0000000..dd31fd1 --- /dev/null +++ b/DocumentServiceAPI.Application/ProjectInfo/SheZhiController.cs @@ -0,0 +1,176 @@ +锘縰sing DocumentServiceAPI.Application.ProjectInfo.Services; +using DocumentServiceAPI.Application.ProjectInfo.Services.Interfaces; +using DocumentServiceAPI.Application.ProjectInfo.ViewMode; +using DocumentServiceAPI.Model.cyDocumentModel; +using DocumentServiceAPI.Utility; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Intrinsics.Arm; +using System.Text; +using System.Threading.Tasks; + +namespace DocumentServiceAPI.Application.ProjectInfo +{ + /// <summary> + /// 鐧诲綍鎺у埗鍣� + /// </summary> + [ApiDescriptionSettings("SheZhi")] + [DynamicApiController] + [Authorize] + public class SheZhiController + { + private readonly ISheZhiService _sheZhiService; + public SheZhiController(ISheZhiService sheZhiService) + { + _sheZhiService = sheZhiService; + } + + + + // <summary> + /// 鑾峰彇浠g悊鍒楄〃postDelegatePersonList + /// </summary> + /// <param name="page"></param> + /// <returns></returns> + public PageResult<Document_DelegatePersonInfo> postDelegatePersonList(DocumentProjectInfoPageSearch page) + { + return _sheZhiService.postDelegatePersonList(page); + } + + + /// <summary> + /// 鍒犻櫎椤圭洰GetDelDocumentDelegatePersonInfo + /// </summary> + /// <param name="Id"></param> + /// <returns></returns> + public bool GetDelDocumentDelegatePersonInfo(int ID) + { + return _sheZhiService.GetDelDocumentDelegatePersonInfo(ID); + } + + /// <summary> + /// 淇敼椤圭洰SaveDocumentDelegatePersonInfo + /// </summary> + /// <param name="dp"></param> + /// <returns></returns> + public bool SaveDocumentDelegatePersonInfo(Document_DelegatePersonInfo dp) + { + return _sheZhiService.SaveDocumentDelegatePersonInfo(dp); + } + + /// <summary> + /// 鑾峰彇椤圭洰GetDocumentDelegatePersonInfo + /// <param name="ID"></param> + /// </summary> + public Document_DelegatePersonInfo GetDocumentDelegatePersonInfo(int ID) + { + return _sheZhiService.GetDocumentDelegatePersonInfo(ID); + } + + + + + // <summary> + /// 鑾峰彇鍏徃postDocumentTenderUnitList + /// </summary> + /// <param name="page"></param> + /// <returns></returns> + public PageResult<Document_TenderUnit> postDocumentTenderUnitList(DocumentProjectInfoPageSearch page) + { + return _sheZhiService.postDocumentTenderUnitList(page); + } + + + /// <summary> + /// 淇敼鍏徃SaveDocumentTenderUnitInfo + /// </summary> + /// <param name="dp"></param> + /// <returns></returns> + public bool SaveDocumentTenderUnitInfo(Document_TenderUnit dp) + { + return _sheZhiService.SaveDocumentTenderUnitInfo(dp); + } + + /// <summary> + /// 鑾峰彇鍏徃GetDocumentTenderUnitInfo + /// <param name="ID"></param> + /// </summary> + public Document_TenderUnit GetDocumentTenderUnitInfo(int ID) + { + return _sheZhiService.GetDocumentTenderUnitInfo(ID); + } + + + + + // <summary> + /// 鑾峰彇鍛樺伐鍒楄〃postDocumentEmployeeInfoList + /// </summary> + /// <param name="page"></param> + /// <returns></returns> + public PageResult<DocumentEmployeeInfoDTO> postDocumentEmployeeInfoList(DocumentProjectInfoPageSearch page) + { + return _sheZhiService.postDocumentEmployeeInfoList(page); + } + + + /// <summary> + /// 鍒犻櫎鍛樺伐GetDelDocumentEmployeeInfoInfo + /// </summary> + /// <param name="ID"></param> + /// <returns></returns> + public bool GetDelDocumentEmployeeInfoInfo(int ID) + { + return _sheZhiService.GetDelDocumentEmployeeInfoInfo(ID); + } + + /// <summary> + /// 淇敼鍛樺伐SaveDocumentEmployeeInfoInfo + /// </summary> + /// <param name="dp"></param> + /// <returns></returns> + public bool SaveDocumentEmployeeInfoInfo(DocumentEmployeeInfoDTO dp) + { + return _sheZhiService.SaveDocumentEmployeeInfoInfo(dp); + } + + /// <summary> + /// 鑾峰彇鍛樺伐GetDocumentEmployeeInfoInfo + /// <param name="ID"></param> + /// </summary> + public DocumentEmployeeInfoDTO GetDocumentEmployeeInfoInfo(int ID) + { + return _sheZhiService.GetDocumentEmployeeInfoInfo(ID); + } + + // <summary> + /// 鑾峰彇鍛樺伐GetDocumentEmployeeInfoByName + /// <param name="EmployeeName"></param> + /// </summary> + public Document_EmployeeInfo GetDocumentEmployeeInfoByName(string EmployeeName) + { + return _sheZhiService.GetDocumentEmployeeInfoByName(EmployeeName); + } + + // <summary> + /// 鑾峰彇椤圭洰GetDocumentEmployeeInfoInfo + /// <param name="textUserName"></param> + /// </summary> + public Document_EmployeeInfo GetDocumentEmployeeInfoByLoginName(string textUserName) + { + return _sheZhiService.GetDocumentEmployeeInfoByLoginName(textUserName); + } + + // <summary> + /// 鑾峰彇缁╂晥鑰冩牳GetDocumentPerformanceInfoListByPaper + /// </summary> + /// <param name="page"></param> + /// <returns></returns> + public PageResult<Document_PerformanceInfo> postDocumentPerformanceInfoListByPaper(DocumentProjectInfoPageSearch page) + { + return _sheZhiService.GetDocumentPerformanceInfoListByPaper(page); + } + } + +} -- Gitblit v1.9.1