UserBusinessMapper.java 3.4 KB

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