ContractService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.goafanti.contract.service;
  2. import java.util.List;
  3. import com.goafanti.common.model.Contract;
  4. import com.goafanti.contract.bo.ContractClientListBo;
  5. import com.goafanti.contract.bo.ContractDetail;
  6. import com.goafanti.contract.bo.ContractManageListBo;
  7. import com.goafanti.contract.bo.ContractSerialNumber;
  8. import com.goafanti.core.mybatis.page.Pagination;
  9. public interface ContractService {
  10. Pagination<ContractManageListBo> getManageList(String contractId, Integer serialNumber, Integer type,
  11. Integer status, String startDateFormattedDate, String endDateFormattedDate, Integer province,
  12. String unitName, String uid, Integer pNo, Integer pSize);
  13. Contract saveManageContract(Contract c);
  14. int updateContractByManage(Contract contract);
  15. void insertManageSubmit(Contract c, String[] principals, String signDateFormattedDate);
  16. ContractDetail selectContractDetail(String id);
  17. Contract selectByPrimaryKey(String id);
  18. int updateByPrimaryKeySelective(Contract contract);
  19. void updateSubmit(Contract c, String[] principals, String signDateFormattedDate);
  20. List<ContractSerialNumber> selectContractSerialNumber();
  21. int deleteByPrimaryKey(List<String> asList);
  22. Pagination<ContractClientListBo> getClientList(String contractId, Integer serialNumber, Integer type,
  23. Integer status, String startDateFormattedDate, String endDateFormattedDate, String completeStartDate,
  24. String completeEndDate, Integer pNo, Integer pSize);
  25. Contract saveContract(Contract c);
  26. Contract findByUidAndYear(String uid, Integer year);
  27. Contract findLatelyRecordByUid(String uid);
  28. }