JtBusinessProjectMapper.java 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.JtBusinessProject;
  3. import com.goafanti.common.model.JtBusinessProjectExample;
  4. import com.goafanti.core.mybatis.page.Pagination;
  5. import java.util.List;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface JtBusinessProjectMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  10. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  11. */
  12. long countByExample(JtBusinessProjectExample example);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  15. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  16. */
  17. int deleteByExample(JtBusinessProjectExample example);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  20. * @mbg.generated Fri Jul 06 18:31:16 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_business_project
  25. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  26. */
  27. int insert(JtBusinessProject record);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  30. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  31. */
  32. int insertSelective(JtBusinessProject record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  35. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  36. */
  37. List<JtBusinessProject> selectByExample(JtBusinessProjectExample example);
  38. /**
  39. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  40. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  41. */
  42. JtBusinessProject selectByPrimaryKey(String id);
  43. /**
  44. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  45. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  46. */
  47. int updateByExampleSelective(@Param("record") JtBusinessProject record,
  48. @Param("example") JtBusinessProjectExample example);
  49. /**
  50. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  51. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  52. */
  53. int updateByExample(@Param("record") JtBusinessProject record, @Param("example") JtBusinessProjectExample example);
  54. /**
  55. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  56. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  57. */
  58. int updateByPrimaryKeySelective(JtBusinessProject record);
  59. /**
  60. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  61. * @mbg.generated Fri Jul 06 18:31:16 CST 2018
  62. */
  63. int updateByPrimaryKey(JtBusinessProject record);
  64. List<JtBusinessProject> getBusinessProjectByCategoryId(@Param("id")String id,@Param("size")Integer size,@Param("isHot")Integer isHot);
  65. List<JtBusinessProject> findProjectOrderByNumber();
  66. }