PatentInfoMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.goafanti.common.model.PatentInfo;
  5. import com.goafanti.patent.bo.PatentContractListBo;
  6. import com.goafanti.patent.bo.PatentExpireBO;
  7. import com.goafanti.patent.bo.PatentInfoDetailBo;
  8. import com.goafanti.patent.bo.PatentRecieveSendBo;
  9. public interface PatentInfoMapper {
  10. int deleteByPrimaryKey(String id);
  11. int insert(PatentInfo record);
  12. int insertSelective(PatentInfo record);
  13. PatentInfo selectByPrimaryKey(String id);
  14. int updateByPrimaryKeySelective(PatentInfo record);
  15. int updateByPrimaryKey(PatentInfo record);
  16. PatentInfo selectPatentInfoByUserId(String uid);
  17. List<PatentInfo> findClientApplyListByPage(Map<String, Object> params);
  18. int findClentApplyCount(Map<String, Object> params);
  19. List<PatentRecieveSendBo> getPatentRecieveSendList();
  20. int batchDeleteByPrimaryKey(List<String> id);
  21. PatentInfoDetailBo selectPatentInfoDetail(String id);
  22. List<PatentInfo> selectByPrimaryKeys(List<String> id);
  23. Integer countPatentDone(String uid);
  24. Integer countPatentUndone(String uid);
  25. List<PatentExpireBO> selectExpireRecord();
  26. List<PatentContractListBo> listContractPatentByContractId(String contractId);
  27. void batchInsert(List<PatentInfo> pi);
  28. int batchDeleteByContractId(List<String> id);
  29. Integer findPatentInfoNumByUid(String uid);
  30. }