From b80a3aa37ac5bed12dd6c49e9e731d5f375f80d9 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 26 十二月 2024 09:55:01 +0800
Subject: [PATCH] 增加sw文档关闭配置

---
 DocumentServiceAPI.Application/ProjectInfo/ProjectInfoController.cs |  382 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 382 insertions(+), 0 deletions(-)

diff --git a/DocumentServiceAPI.Application/ProjectInfo/ProjectInfoController.cs b/DocumentServiceAPI.Application/ProjectInfo/ProjectInfoController.cs
index 87c4d97..b43624d 100644
--- a/DocumentServiceAPI.Application/ProjectInfo/ProjectInfoController.cs
+++ b/DocumentServiceAPI.Application/ProjectInfo/ProjectInfoController.cs
@@ -6,6 +6,7 @@
 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;
@@ -318,5 +319,386 @@
         {
             return _projectInfoService.SaveDocumentProjectDocumentInfo(dp);
         }
+
+
+
+        /// <summary>
+        /// 鑾峰彇椤圭洰GetDelegatePersonInfo
+        /// <param name="ID"></param>
+        /// </summary>
+        public Document_DelegatePersonInfo GetDelegatePersonInfo(int ID)
+        {
+            return _projectInfoService.GetDelegatePersonInfo(ID);
+        }
+
+        /// <summary>
+        /// 淇敼椤圭洰SaveDocumentProjectOppugnInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentProjectOppugnInfo(Document_ProjectOppugnInfo dp)
+        {
+            return _projectInfoService.SaveDocumentProjectOppugnInfo(dp);
+        }
+
+
+        /// <summary>
+        /// 鑾峰彇椤圭洰GetAllDelegatePerson
+        /// </summary>
+        public List<Document_DelegatePersonInfo> GetAllDelegatePerson()
+        {
+            return _projectInfoService.GetAllDelegatePerson();
+        }
+
+        /// <summary>
+        /// 淇敼椤圭洰SaveDocumentProjectComplainInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentProjectComplainInfo(Document_ProjectComplainInfo dp)
+        {
+            return _projectInfoService.SaveDocumentProjectComplainInfo(dp);
+        }
+
+        /// <summary>
+        /// 淇敼椤圭洰SaveDocumentProjectReviewInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentProjectReviewInfo(Document_ProjectReviewInfo dp)
+        {
+            return _projectInfoService.SaveDocumentProjectReviewInfo(dp);
+        }
+
+        /// <summary>
+        /// 鏌ヨ椤圭洰GetPreUnit
+        /// </summary>
+        /// <param name="childName"></param>
+        /// <returns></returns>
+        public string GetPreUnit(string childName)
+        {
+            return _projectInfoService.GetPreUnit(childName);
+        }
+
+        /// <summary>
+        /// 淇敼椤圭洰SaveDocumentProjectLitigationInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentProjectLitigationInfo(Document_ProjectLitigationInfo dp)
+        {
+            return _projectInfoService.SaveDocumentProjectLitigationInfo(dp);
+        }
+
+
+        /// <summary>
+        /// 淇敼椤圭洰SaveDocumentAdviseInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentAdviseInfo(Document_AdviseInfo dp)
+        {
+            return _projectInfoService.SaveDocumentAdviseInfo(dp);
+        }
+
+        /// <summary>
+        /// 鑾峰彇椤圭洰GetTempletModel
+        /// <param name="templetId"></param>
+        /// </summary>
+        public Document_DocumentTempletInfo GetTempletModel(int templetId)
+        {
+            return _projectInfoService.GetTempletModel(templetId);
+        }
+
+        /// <summary>
+        /// 鑾峰彇椤圭洰GetDocumentTempletList
+        /// </summary>
+        public List<Document_DocumentTempletInfo> GetDocumentTempletList()
+        {
+            return _projectInfoService.GetDocumentTempletList();
+        }
+
+
+
+        /// <summary>
+        /// 鑾峰彇鎷涙爣鏂囦欢鍒楄〃postDocumentZhaobiaoFileList
+        /// </summary>
+        /// <param name="page"></param>
+        /// <returns></returns>
+        public PageResult<Document_ZhaobiaoFile> postDocumentZhaobiaoFileList(DocumentProjectInfoPageSearch page)
+        {
+            return _projectInfoService.postDocumentZhaobiaoFileList(page);
+        }
+
+
+
+
+        /// <summary>
+        /// 淇敼鎷涙爣鏂囦欢SaveDocumentZhaobiaoFileInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentZhaobiaoFileInfo(Document_ZhaobiaoFile dp)
+        {
+            return _projectInfoService.SaveDocumentZhaobiaoFileInfo(dp);
+        }
+
+
+
+        /// <summary>
+        /// 鍒犻櫎椤圭洰GetDeleteDocumentZhaobiaoFile
+        /// </summary>
+        /// <param name="ID"></param>
+        /// <returns></returns>
+        public bool GetDeleteDocumentZhaobiaoFile(int ID)
+        {
+            return _projectInfoService.GetDeleteDocumentZhaobiaoFile(ID);
+        }
+
+
+        /// <summary>
+        /// 鑾峰彇椤圭洰GetDocumentZhaobiaoFileInfo
+        /// <param name="ID"></param>
+        /// </summary>
+        public Document_ZhaobiaoFile GetDocumentZhaobiaoFileInfo(int ID)
+        {
+            return _projectInfoService.GetDocumentZhaobiaoFileInfo(ID);
+        }
+
+
+
+        /// <summary>
+        /// 鑾峰彇鍝嶅簲鏂囦欢鍒楄〃postDocumentTBXYFileList
+        /// </summary>
+        /// <param name="page"></param>
+        /// <returns></returns>
+        public PageResult<DocumentTBXYFileDTO> postDocumentTBXYFileList(DocumentProjectInfoPageSearch page)
+        {
+            return _projectInfoService.postDocumentTBXYFileList(page);
+        }
+
+
+
+
+        /// <summary>
+        /// 淇敼鍝嶅簲鏂囦欢SaveDocumentTBXYFileInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveDocumentTBXYFileInfo(Document_TBXYFile dp)
+        {
+            return _projectInfoService.SaveDocumentTBXYFileInfo(dp);
+        }
+
+
+
+        /// <summary>
+        /// 鍒犻櫎鍝嶅簲鏂囦欢GetDeleteDocumentTBXYFile
+        /// </summary>
+        /// <param name="ID"></param>
+        /// <returns></returns>
+        public bool GetDeleteDocumentTBXYFile(int ID)
+        {
+            return _projectInfoService.GetDeleteDocumentTBXYFile(ID);
+        }
+
+
+        /// <summary>
+        /// 鑾峰彇鍝嶅簲鏂囦欢GetDocumentTBXYFileInfo
+        /// <param name="ID"></param>
+        /// </summary>
+        public Document_TBXYFile GetDocumentTBXYFileInfo(int ID)
+        {
+            return _projectInfoService.GetDocumentTBXYFileInfo(ID);
+        }
+
+        /// <summary>
+        /// 鑾峰彇鍝嶅簲鏂囦欢GetDocumentTBXYFileInfo
+        /// <param name="ID"></param>
+        /// </summary>
+        public List<Document_TBXYFile> GetDocumentTBXYFileList(int projectId, int unitId)
+        {
+            return _projectInfoService.GetDocumentTBXYFileList(projectId, unitId);
+        }
+
+        /// <summary>
+        /// 鑾峰彇鍝嶅簲鏂囦欢GetDocumentTBXYFileInfo
+        /// <param name="ID"></param>
+        /// </summary>
+        public Document_TBXYFile GetDocumentTBXYFileByFileName(int projectId, int unitId, string FileName)
+        {
+            return _projectInfoService.GetDocumentTBXYFileByFileName(projectId, unitId, FileName);
+        }
+
+
+        /// <summary>
+        /// 淇敼鍝嶅簲鏂囦欢SaveDocumentTBXYFileInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns>int</returns>
+        public int SaveDocInfo(Doc_Info dp)
+        {
+            return _projectInfoService.SaveDocInfo(dp);
+        }
+
+
+        /// <summary>
+        /// 淇敼鍝嶅簲鏂囦欢SaveDocumentTBXYFileInfo
+        /// </summary>
+        /// <param name="dp"></param>
+        /// <returns></returns>
+        public bool SaveFileInfo(File_Info dp)
+        {
+            return _projectInfoService.SaveFileInfo(dp);
+        }
+
+
+        /// <summary>
+        /// 鑾峰彇鏂规绫诲埆GetOtherCompanyTenderInfoList
+        /// </summary>
+        public List<Doc_Classification> GetDocClassificationList()
+        {
+            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);
+
+        }
     }
 }

--
Gitblit v1.9.1