using DocumentServiceAPI.Application.ProjectInfo.ViewMode; using DocumentServiceAPI.Application.WorkRemind.ViewMode; using DocumentServiceAPI.Model.cyDocumentModel; using DocumentServiceAPI.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Application.ProjectInfo.Services.Interfaces { public interface IProjectInfoService { public bool InProjectInfo(DocumentProjectInfoDTO dp); public bool IsExistProject(string ProjectName, string ProjectCode); public Document_ProjectInfo ProjectInfoByUrl(Document_ProjectInfo dp); public PageResult postProjectInfoList(DocumentProjectInfoPageSearch page); public bool DelProjectInfoByIds(List projectIdList); public DocumentProjectInfoDTO GetProjectInfo(int ID, int TenantID); public Document_ProjectExpand GetProjectExpand(int ID,int UnitId); public Document_WinInfo GetDocument_WinInfo(int ID, int UnitId); public Document_AdviseInfo GetDocument_AdviseInfo(int ID, int UnitId); public Document_ProjectOppugnInfo GetProjectOppugnInfo(int ID, int UnitId); public Document_ProjectComplainInfo GetProjectComplainInfo(int ID, int UnitId); public Document_ProjectReviewInfo GetProjectReviewInfo(int ID, int UnitId); public Document_ProjectLitigationInfo GetProjectLitigationInfo(int ID, int UnitId); public List GetOtherCompanyTenderInfoList(int ID, int TenantID); public Document_OtherCompanyTenderInfo GetOtherCompanyTenderInfo(int ID, string companyName); public bool DelOtherCompanyTenderInfo(int Id); public bool SaveOtherCompanyTenderInfo(Document_OtherCompanyTenderInfo dp); public bool UpdateProjectInfo(Document_ProjectInfo dp); public bool SaveDocumentWinInfo(Document_WinInfo dp); public bool SaveDocumentProjectExpand(Document_ProjectExpand dp); public Document_TenderUnit GetTenderUnit(int ID); public Document_EmployeeInfo GetDocument_EmployeeInfoByName(string EmployeeName); public Model.cyDocumentModel.Document_EmployeeInfo GetDocument_EmployeeInfoInfo(int ID); public List GetAptitudeInfoByUnitId(int UnitId); public bool GetDeleteDocumentModel(int projectId, int unitId); public Document_ProjectDocumentInfo GetProjectDocumentInfo(int projectId, int unitId); public PageResult postDocumentList(DocumentProjectInfoPageSearch page); public bool SaveDocumentProjectDocumentInfo(Document_ProjectDocumentInfo dp); public Document_DelegatePersonInfo GetDelegatePersonInfo(int ID); public bool SaveDocumentProjectOppugnInfo(Document_ProjectOppugnInfo dp); public List GetAllDelegatePerson(); public bool SaveDocumentProjectComplainInfo(Document_ProjectComplainInfo dp); public bool SaveDocumentProjectReviewInfo(Document_ProjectReviewInfo dp); public string GetPreUnit(string childName); public bool SaveDocumentProjectLitigationInfo(Document_ProjectLitigationInfo dp); public bool SaveDocumentAdviseInfo(Document_AdviseInfo dp); public Document_DocumentTempletInfo GetTempletModel(int templetId); public List GetDocumentTempletList(); public PageResult postDocumentZhaobiaoFileList(DocumentProjectInfoPageSearch page); public Document_ZhaobiaoFile GetDocumentZhaobiaoFileInfo(int ID); public bool GetDeleteDocumentZhaobiaoFile(int ID); public bool SaveDocumentZhaobiaoFileInfo(Document_ZhaobiaoFile dp); public PageResult postDocumentTBXYFileList(DocumentProjectInfoPageSearch page); public Document_TBXYFile GetDocumentTBXYFileInfo(int ID); public bool GetDeleteDocumentTBXYFile(int ID); public bool SaveDocumentTBXYFileInfo(Document_TBXYFile dp); public List GetDocumentTBXYFileList(int projectId, int unitId); public Document_TBXYFile GetDocumentTBXYFileByFileName(int projectId, int unitId,string FileName); public int SaveDocInfo(Doc_Info dp); public bool SaveFileInfo(File_Info dp); public List GetDocClassificationList(); public bool SaveDocumentTBXYFileInfoNotRep(Document_TBXYFile dp); public PageResult postDocClassificationList(DocumentProjectInfoPageSearch page); public Doc_Classification GetDocClassificationInfo(int ID); public bool GetDeleteDocClassDel(int ID, int tenantId); public bool GetDeleteDocClassification(int ID); public bool SaveDocClassificationInfo(Doc_Classification dp); public bool SaveDocClassDelInfo(Doc_ClassDel dp); public List GetDocClassificationList(int tenantId ); public Doc_Classification GetDocClassificationByFileName(int tenantId , string FileName, string parent_code); public Doc_Classification GetDocClassificationcode(int tenantId, string parent_code); public Doc_Classification GetDocClassificationInfoMaxSortId(int tenantId, string docclassificationcode); public Doc_Classification GetDocumentInfoMaxSortId(int unitId, string doccode); public Doc_Classification GetAchievementInfoMaxSortId(int unitId); } }