username@email.com
2023-09-06 f7ff76aeadd7d92da92ee65ed658b636fa4e8036
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
using 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>
        /// 获取代理列表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);
        }
 
 
        /// <summary>
        /// 获取财务信息postGetFinancialList
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        public PageResult<DocumentProjectInfoDTO> postGetFinancialList(DocumentProjectInfoPageSearch page)
        {
            return _sheZhiService.postGetFinancialList(page);
        }
 
 
 
 
 
        // <summary>
        /// 获取法律列表postDocumentLayInfoList
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        public PageResult<Document_LayInfo> postDocumentLayInfoList(DocumentProjectInfoPageSearch page)
        {
            return _sheZhiService.postDocumentLayInfoList(page);
        }
 
 
        /// <summary>
        /// 删除法律GetDelDocumentLayInfo
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public bool GetDelDocumentLayInfo(int ID)
        {
            return _sheZhiService.GetDelDocumentLayInfo(ID);
        }
 
        /// <summary>
        /// 修改法律SaveDocumentLayInfo
        /// </summary>
        /// <param name="dp"></param>
        /// <returns></returns>
        public bool SaveDocumentLayInfo(Document_LayInfo dp)
        {
            return _sheZhiService.SaveDocumentLayInfo(dp);
        }
 
        /// <summary>
        /// 获取法律GetDocumentLayInfo
        /// <param name="ID"></param>
        /// </summary>
        public Document_LayInfo GetDocumentLayInfo(int ID)
        {
            return _sheZhiService.GetDocumentLayInfo(ID);
        }
        /// <summary>
        /// 获取法律GetDocumentLayInfoByName
        /// <param name="LayName"></param>
        /// </summary>
        public Document_LayInfo GetDocumentLayInfoByName(string LayName)
        {
            return _sheZhiService.GetDocumentLayInfoByName(LayName);
        }
    }
 
}