CompanyLibraryMapper.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.CompanyLibrary;
  3. import com.goafanti.common.model.CompanyLibraryExample;
  4. import java.util.List;
  5. import org.apache.ibatis.annotations.Param;
  6. public interface CompanyLibraryMapper {
  7. /**
  8. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  9. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  10. */
  11. long countByExample(CompanyLibraryExample example);
  12. /**
  13. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  14. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  15. */
  16. int deleteByExample(CompanyLibraryExample example);
  17. /**
  18. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  19. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  20. */
  21. int deleteByPrimaryKey(Integer id);
  22. /**
  23. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  24. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  25. */
  26. int insert(CompanyLibrary record);
  27. /**
  28. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  29. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  30. */
  31. int insertSelective(CompanyLibrary record);
  32. /**
  33. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  34. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  35. */
  36. List<CompanyLibrary> selectByExample(CompanyLibraryExample example);
  37. /**
  38. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  39. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  40. */
  41. CompanyLibrary selectByPrimaryKey(Integer id);
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  44. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  45. */
  46. int updateByExampleSelective(@Param("record") CompanyLibrary record,
  47. @Param("example") CompanyLibraryExample example);
  48. /**
  49. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  50. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  51. */
  52. int updateByExample(@Param("record") CompanyLibrary record, @Param("example") CompanyLibraryExample example);
  53. /**
  54. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  55. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  56. */
  57. int updateByPrimaryKeySelective(CompanyLibrary record);
  58. /**
  59. * This method was generated by MyBatis Generator. This method corresponds to the database table company_library
  60. * @mbg.generated Thu Sep 03 09:21:51 CST 2020
  61. */
  62. int updateByPrimaryKey(CompanyLibrary record);
  63. List<CompanyLibrary> selectVague(@Param("name")String name, @Param("type")Integer type, @Param("aid")String aid);
  64. int insertSelectiveGetId(CompanyLibrary c);
  65. List<Integer> selectName(@Param("companyName")String companyName, @Param("type")Integer type, @Param("aid")String aid);
  66. }