CustomerOrganizationInfoMapper.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.CustomerOrganizationInfo;
  3. import com.goafanti.common.model.CustomerOrganizationInfoExample;
  4. import java.util.List;
  5. import org.apache.ibatis.annotations.Param;
  6. public interface CustomerOrganizationInfoMapper {
  7. /**
  8. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  9. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  10. */
  11. long countByExample(CustomerOrganizationInfoExample example);
  12. /**
  13. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  14. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  15. */
  16. int deleteByExample(CustomerOrganizationInfoExample example);
  17. /**
  18. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  19. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  20. */
  21. int deleteByPrimaryKey(String id);
  22. /**
  23. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  24. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  25. */
  26. int insert(CustomerOrganizationInfo record);
  27. /**
  28. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  29. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  30. */
  31. int insertSelective(CustomerOrganizationInfo record);
  32. /**
  33. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  34. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  35. */
  36. List<CustomerOrganizationInfo> selectByExample(CustomerOrganizationInfoExample example);
  37. /**
  38. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  39. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  40. */
  41. CustomerOrganizationInfo selectByPrimaryKey(String id);
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  44. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  45. */
  46. int updateByExampleSelective(@Param("record") CustomerOrganizationInfo record,
  47. @Param("example") CustomerOrganizationInfoExample example);
  48. /**
  49. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  50. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  51. */
  52. int updateByExample(@Param("record") CustomerOrganizationInfo record,
  53. @Param("example") CustomerOrganizationInfoExample example);
  54. /**
  55. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  56. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  57. */
  58. int updateByPrimaryKeySelective(CustomerOrganizationInfo record);
  59. /**
  60. * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
  61. * @mbg.generated Wed Oct 25 09:39:54 CST 2017
  62. */
  63. int updateByPrimaryKey(CustomerOrganizationInfo record);
  64. /**
  65. * 修改
  66. */
  67. int updateCustomerOrganizationByCid(CustomerOrganizationInfo coi);
  68. /**
  69. * 查询公司是否存在
  70. * @param companyName
  71. * @return
  72. */
  73. int findCustomerOrganizationByName(@Param("companyName")String companyName);
  74. }