JtVideoMapper.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import org.apache.ibatis.annotations.Param;
  4. import com.goafanti.admin.bo.AdminVideoBo;
  5. import com.goafanti.common.model.JtVideo;
  6. import com.goafanti.common.model.JtVideoExample;
  7. public interface JtVideoMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  10. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  11. */
  12. int countByExample(JtVideoExample example);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  15. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  16. */
  17. int deleteByExample(JtVideoExample example);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  20. * @mbggenerated Tue Oct 30 20:16: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_video
  25. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  26. */
  27. int insert(JtVideo record);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  30. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  31. */
  32. int insertSelective(JtVideo record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  35. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  36. */
  37. List<JtVideo> selectByExample(JtVideoExample example);
  38. /**
  39. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  40. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  41. */
  42. JtVideo selectByPrimaryKey(String id);
  43. /**
  44. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  45. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  46. */
  47. int updateByExampleSelective(@Param("record") JtVideo record,
  48. @Param("example") JtVideoExample example);
  49. /**
  50. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  51. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  52. */
  53. int updateByExample(@Param("record") JtVideo record,
  54. @Param("example") JtVideoExample example);
  55. /**
  56. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  57. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  58. */
  59. int updateByPrimaryKeySelective(JtVideo record);
  60. /**
  61. * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video
  62. * @mbggenerated Tue Oct 30 20:16:39 CST 2018
  63. */
  64. int updateByPrimaryKey(JtVideo record);
  65. AdminVideoBo selectById(String id);
  66. int updateByUrl(JtVideo video);
  67. AdminVideoBo getIndexVideo(String summary);
  68. int nameCheck(String name);
  69. List<JtVideo> getAllVideoExcludeId(String id);
  70. }