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);
|
}
|
}
|
|
}
|