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
{
///
/// 登录控制器
///
[ApiDescriptionSettings("SheZhi")]
[DynamicApiController]
[Authorize]
public class SheZhiController
{
private readonly ISheZhiService _sheZhiService;
public SheZhiController(ISheZhiService sheZhiService)
{
_sheZhiService = sheZhiService;
}
//
/// 获取代理列表postDelegatePersonList
///
///
///
public PageResult postDelegatePersonList(DocumentProjectInfoPageSearch page)
{
return _sheZhiService.postDelegatePersonList(page);
}
///
/// 删除项目GetDelDocumentDelegatePersonInfo
///
///
///
public bool GetDelDocumentDelegatePersonInfo(int ID)
{
return _sheZhiService.GetDelDocumentDelegatePersonInfo(ID);
}
///
/// 修改项目SaveDocumentDelegatePersonInfo
///
///
///
public bool SaveDocumentDelegatePersonInfo(Document_DelegatePersonInfo dp)
{
return _sheZhiService.SaveDocumentDelegatePersonInfo(dp);
}
///
/// 获取项目GetDocumentDelegatePersonInfo
///
///
public Document_DelegatePersonInfo GetDocumentDelegatePersonInfo(int ID)
{
return _sheZhiService.GetDocumentDelegatePersonInfo(ID);
}
//
/// 获取公司postDocumentTenderUnitList
///
///
///
public PageResult postDocumentTenderUnitList(DocumentProjectInfoPageSearch page)
{
return _sheZhiService.postDocumentTenderUnitList(page);
}
///
/// 修改公司SaveDocumentTenderUnitInfo
///
///
///
public bool SaveDocumentTenderUnitInfo(Document_TenderUnit dp)
{
return _sheZhiService.SaveDocumentTenderUnitInfo(dp);
}
///
/// 获取公司GetDocumentTenderUnitInfo
///
///
public Document_TenderUnit GetDocumentTenderUnitInfo(int ID)
{
return _sheZhiService.GetDocumentTenderUnitInfo(ID);
}
//
/// 获取员工列表postDocumentEmployeeInfoList
///
///
///
public PageResult postDocumentEmployeeInfoList(DocumentProjectInfoPageSearch page)
{
return _sheZhiService.postDocumentEmployeeInfoList(page);
}
///
/// 删除员工GetDelDocumentEmployeeInfoInfo
///
///
///
public bool GetDelDocumentEmployeeInfoInfo(int ID)
{
return _sheZhiService.GetDelDocumentEmployeeInfoInfo(ID);
}
///
/// 修改员工SaveDocumentEmployeeInfoInfo
///
///
///
public bool SaveDocumentEmployeeInfoInfo(DocumentEmployeeInfoDTO dp)
{
return _sheZhiService.SaveDocumentEmployeeInfoInfo(dp);
}
///
/// 获取员工GetDocumentEmployeeInfoInfo
///
///
public DocumentEmployeeInfoDTO GetDocumentEmployeeInfoInfo(int ID)
{
return _sheZhiService.GetDocumentEmployeeInfoInfo(ID);
}
//
/// 获取员工GetDocumentEmployeeInfoByName
///
///
public Document_EmployeeInfo GetDocumentEmployeeInfoByName(string EmployeeName)
{
return _sheZhiService.GetDocumentEmployeeInfoByName(EmployeeName);
}
//
/// 获取项目GetDocumentEmployeeInfoInfo
///
///
public Document_EmployeeInfo GetDocumentEmployeeInfoByLoginName(string textUserName)
{
return _sheZhiService.GetDocumentEmployeeInfoByLoginName(textUserName);
}
//
/// 获取绩效考核GetDocumentPerformanceInfoListByPaper
///
///
///
public PageResult postDocumentPerformanceInfoListByPaper(DocumentProjectInfoPageSearch page)
{
return _sheZhiService.GetDocumentPerformanceInfoListByPaper(page);
}
}
}