JtCommodityCommentMapper.java 3.1 KB

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