JtBusinessProjectMapper.java 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package com.goafanti.common.dao;
  2. import com.goafanti.business.bo.JtBusinessProjectResult;
  3. import com.goafanti.common.model.JtBusinessProject;
  4. import com.goafanti.common.model.JtBusinessProjectExample;
  5. import com.goafanti.core.mybatis.page.Pagination;
  6. import java.util.List;
  7. import org.apache.ibatis.annotations.Param;
  8. public interface JtBusinessProjectMapper {
  9. /**
  10. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  11. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  12. */
  13. long countByExample(JtBusinessProjectExample example);
  14. /**
  15. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  16. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  17. */
  18. int deleteByExample(JtBusinessProjectExample example);
  19. /**
  20. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  21. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  22. */
  23. int deleteByPrimaryKey(String id);
  24. /**
  25. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  26. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  27. */
  28. int insert(JtBusinessProject record);
  29. /**
  30. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  31. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  32. */
  33. int insertSelective(JtBusinessProject record);
  34. /**
  35. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  36. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  37. */
  38. List<JtBusinessProject> selectByExample(JtBusinessProjectExample example);
  39. /**
  40. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  41. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  42. */
  43. JtBusinessProject selectByPrimaryKey(String id);
  44. /**
  45. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  46. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  47. */
  48. int updateByExampleSelective(@Param("record") JtBusinessProject record,
  49. @Param("example") JtBusinessProjectExample example);
  50. /**
  51. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  52. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  53. */
  54. int updateByExample(@Param("record") JtBusinessProject record, @Param("example") JtBusinessProjectExample example);
  55. /**
  56. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  57. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  58. */
  59. int updateByPrimaryKeySelective(JtBusinessProject record);
  60. /**
  61. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_business_project
  62. * @mbg.generated Wed Aug 01 10:34:40 CST 2018
  63. */
  64. int updateByPrimaryKey(JtBusinessProject record);
  65. List<JtBusinessProject> getBusinessProjectByCategoryId(@Param("id")String id,@Param("size")Integer size,@Param("isHot")Integer isHot);
  66. List<JtBusinessProject> findProjectOrderByNumber();
  67. int deleteByIdAndUid(String id,String uid);
  68. JtBusinessProjectResult selectByPrimaryKeyWithModule(@Param("id")String id,@Param("uid")String uid);
  69. List<JtBusinessProject> getKJListByIds(@Param("module")Integer module, @Param("isHot")Integer isHost, @Param("size")Integer size);
  70. List<JtBusinessProject> getModuleByName(@Param("name")String name, @Param("isHot")Integer isHost, @Param("size")Integer size);
  71. JtBusinessProject selectFirstLevel(String id);
  72. List<JtBusinessProject> getProjectByTag(@Param("name")String name, @Param("size")Integer size);
  73. }