BusinessVarietiesMapper.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. package com.goafanti.common.dao;
  2. import com.goafanti.business.bo.BusinessVarietiesBo;
  3. import com.goafanti.business.bo.VarietiesBo;
  4. import com.goafanti.common.model.BusinessVarieties;
  5. import com.goafanti.common.model.BusinessVarietiesExample;
  6. import java.util.List;
  7. import org.apache.ibatis.annotations.Param;
  8. public interface BusinessVarietiesMapper {
  9. /**
  10. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  11. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  12. */
  13. long countByExample(BusinessVarietiesExample example);
  14. /**
  15. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  16. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  17. */
  18. int deleteByExample(BusinessVarietiesExample example);
  19. /**
  20. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  21. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  22. */
  23. int deleteByPrimaryKey(String id);
  24. /**
  25. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  26. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  27. */
  28. int insert(BusinessVarieties record);
  29. /**
  30. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  31. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  32. */
  33. int insertSelective(BusinessVarieties record);
  34. /**
  35. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  36. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  37. */
  38. List<BusinessVarieties> selectByExample(BusinessVarietiesExample example);
  39. /**
  40. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  41. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  42. */
  43. BusinessVarieties selectByPrimaryKey(String id);
  44. /**
  45. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  46. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  47. */
  48. int updateByExampleSelective(@Param("record") BusinessVarieties record,
  49. @Param("example") BusinessVarietiesExample example);
  50. /**
  51. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  52. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  53. */
  54. int updateByExample(@Param("record") BusinessVarieties record, @Param("example") BusinessVarietiesExample example);
  55. /**
  56. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  57. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  58. */
  59. int updateByPrimaryKeySelective(BusinessVarieties record);
  60. /**
  61. * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties
  62. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  63. */
  64. int updateByPrimaryKey(BusinessVarieties record);
  65. String getCount(String superId);
  66. String getCid(String superId);
  67. List<BusinessVarietiesBo> getSuperList();
  68. BusinessVarietiesBo editVarieties(@Param("id")String id);
  69. String ThanCid(String cid);
  70. int getcname(String cname);//获取有多少条
  71. List<BusinessVarietiesBo> selectSuperid(String spuerId);
  72. String getThisCid(String id);
  73. String getThisCname(String cid);
  74. List<String> getListId();
  75. int getLayer(String superId);
  76. List<VarietiesBo> getVarieties();
  77. String getCidMax(String superId);
  78. String getSortMax();
  79. BusinessVarieties selectBySort(Integer sort);
  80. }