UserBusinessMapper.java 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.UserBusiness;
  3. import com.goafanti.common.model.UserBusinessExample;
  4. import com.goafanti.customer.bo.BusinessListBo;
  5. import java.util.List;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface UserBusinessMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  10. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  11. */
  12. long countByExample(UserBusinessExample example);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  15. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  16. */
  17. int deleteByExample(UserBusinessExample example);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  20. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  21. */
  22. int deleteByPrimaryKey(String id);
  23. /**
  24. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  25. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  26. */
  27. int insert(UserBusiness record);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  30. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  31. */
  32. int insertSelective(UserBusiness record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  35. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  36. */
  37. List<UserBusiness> selectByExample(UserBusinessExample example);
  38. /**
  39. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  40. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  41. */
  42. UserBusiness selectByPrimaryKey(String id);
  43. /**
  44. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  45. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  46. */
  47. int updateByExampleSelective(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);
  48. /**
  49. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  50. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  51. */
  52. int updateByExample(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);
  53. /**
  54. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  55. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  56. */
  57. int updateByPrimaryKeySelective(UserBusiness record);
  58. /**
  59. * This method was generated by MyBatis Generator. This method corresponds to the database table user_business
  60. * @mbg.generated Fri Nov 10 19:10:10 CST 2017
  61. */
  62. int updateByPrimaryKey(UserBusiness record);
  63. List<BusinessListBo> findBusinessGlossory();
  64. int judgeBusiness(@Param("uid")String uid,@Param("businessGlossoryId")Integer businessGlossoryId,@Param("aid")String aid);
  65. List<UserBusiness> findBusinessByUAid(String uid, String aid);
  66. }