PatentNewService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.goafanti.patent.service;
  2. import java.util.Date;
  3. import java.util.List;
  4. import org.springframework.web.multipart.MultipartFile;
  5. import com.goafanti.common.model.PatentNew;
  6. import com.goafanti.common.model.PatentNewLog;
  7. import com.goafanti.core.mybatis.page.Pagination;
  8. import com.goafanti.patent.bo.PatentNewBo;
  9. public interface PatentNewService {
  10. int addPatenNew(PatentNew p);
  11. int updatePatenNew(PatentNewBo p);
  12. Pagination<PatentNewBo> selectPatentNew(PatentNewBo p,Integer pageSize, Integer pageNo);
  13. List<PatentNewBo> AllselectStartPatentNew();
  14. int addPatenNewLog(PatentNewLog pl);
  15. List<PatentNew> AllselectEndPatentNew();
  16. void insertLogBatch(List<PatentNewLog> logList2);
  17. List<PatentNewLog> selectPatentNewLog(Integer id);
  18. Object export(PatentNewBo p, Integer pageSize, Integer pageNo);
  19. void pushImportTemplate(MultipartFile file);
  20. Object pushPatentPaymentDetails(Integer id);
  21. Object updateBatch(String ids, Integer type,String aid);
  22. void updateBatchStatusByid(List<String> l2, Integer status);
  23. void pushResetPatentNew(List<String> list);
  24. boolean checkTid(Integer tid);
  25. int countDays(Date endDate);
  26. Integer getSatus(Date endDate);
  27. void updateCostReduction(Integer id);
  28. }