PatentInfoService.java 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.goafanti.patent.service;
  2. import java.util.Date;
  3. import java.util.List;
  4. import com.goafanti.common.model.Contract;
  5. import com.goafanti.common.model.PatentInfo;
  6. import com.goafanti.common.model.PatentLog;
  7. import com.goafanti.core.mybatis.page.Pagination;
  8. import com.goafanti.patent.bo.PatentAnnualFeeTaskBo;
  9. import com.goafanti.patent.bo.PatentContractListBo;
  10. import com.goafanti.patent.bo.PatentExpireBo;
  11. import com.goafanti.patent.bo.PatentInfoDetailBo;
  12. import com.goafanti.patent.bo.PatentManageListBo;
  13. import com.goafanti.patent.bo.PatentNoticeOfCorrectionBo;
  14. import com.goafanti.patent.bo.PatentPendingBo;
  15. public interface PatentInfoService {
  16. PatentInfo insert(PatentInfo patentInfo);
  17. int updateByPrimaryKeySelective(PatentInfo patentInfo);
  18. PatentInfo selectByPrimaryKey(String id);
  19. Pagination<PatentInfo> getClientApplyList(String userId, String patentNumber, String patentName,
  20. Integer parentCatagory, Integer patentState, Integer pNo, Integer pSize);
  21. Pagination<PatentManageListBo> getManagePatentList(String contractId, Integer serialNumber, String patentNumber, String office,
  22. Integer locationProvince, String unitName, Integer patentCatagory, String patentName, Integer patentState,
  23. String[] createTime, String[] patentApplicationDate, String author, String uid, Integer pNo, Integer pSize);
  24. Pagination<PatentPendingBo> getManagePendingPaymentList(Integer locationProvince, Integer pNo, Integer pSize);
  25. Pagination<PatentNoticeOfCorrectionBo> getNoticeOfCorrectionList(Date authorizedDate, Integer serialNumber,
  26. String patentNumber, String office, Integer locationProvince, String unitName, Integer patentCatagory,
  27. String patentName, Integer patentState, String author, Integer pNo, Integer pSize);
  28. int batchDeleteByPrimaryKey(List<String> id);
  29. PatentInfo savePatentInfo(PatentInfo patentInfo, String salesman);
  30. void updatePatentInfo(PatentInfo patentInfo, PatentLog patentLog, Date recordTime);
  31. void updateNoticeOfCorrection(String pid, Integer patentState);
  32. PatentInfoDetailBo selectPatentInfoDetail(String pid);
  33. int batchCirculation(String[] ids, String recordTimeFormattedDate, PatentLog pl);
  34. List<PatentExpireBo> selectExpireRecord();
  35. PatentInfo insertPatentInfo(PatentInfo pi, String aid);
  36. List<PatentContractListBo> listContractPatentByContractId(String contractId);
  37. void batchInsertContractRecord(Contract c);
  38. List<PatentAnnualFeeTaskBo> findAnnualFeeTaskBo();
  39. }