PatentNewMapper.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.PatentNew;
  3. import com.goafanti.common.model.PatentNewLog;
  4. import com.goafanti.patent.bo.PatentNewBo;
  5. import java.util.List;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface PatentNewMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  10. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  11. */
  12. int deleteByPrimaryKey(Integer id);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  15. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  16. */
  17. int insert(PatentNew record);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  20. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  21. */
  22. int insertSelective(PatentNew record);
  23. /**
  24. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  25. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  26. */
  27. PatentNew selectByPrimaryKey(Integer id);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  30. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  31. */
  32. int updateByPrimaryKeySelective(PatentNew record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new
  35. * @mbg.generated Mon Aug 09 14:41:21 CST 2021
  36. */
  37. int updateByPrimaryKey(PatentNew record);
  38. List<PatentNewBo> AllselectStartPatentNew();
  39. List<PatentNew> AllselectEndPatentNew();
  40. void updateAdmin(@Param("aid")String aid, @Param("transferId")String transferId);
  41. void insertLogBatch(List<PatentNewLog> list);
  42. void insertBatch(List<PatentNew> list2);
  43. int selectByPatenNo(String patentNo);
  44. List<PatentNew> selectByYear(int i);
  45. void updateBatch(@Param("list") List<String> list);
  46. List<PatentNew> selectByids(List<String> s);
  47. String selectUserNameByTid(Integer tid);
  48. }