package com.goafanti.common.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.goafanti.admin.bo.AdminVideoBo; import com.goafanti.common.model.JtVideo; import com.goafanti.common.model.JtVideoExample; public interface JtVideoMapper { /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int countByExample(JtVideoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int deleteByExample(JtVideoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int deleteByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int insert(JtVideo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int insertSelective(JtVideo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ List selectByExample(JtVideoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ JtVideo selectByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int updateByExampleSelective(@Param("record") JtVideo record, @Param("example") JtVideoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int updateByExample(@Param("record") JtVideo record, @Param("example") JtVideoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int updateByPrimaryKeySelective(JtVideo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table jt_video * @mbggenerated Tue Oct 30 20:16:39 CST 2018 */ int updateByPrimaryKey(JtVideo record); AdminVideoBo selectById(String id); int updateByUrl(JtVideo video); AdminVideoBo getIndexVideo(String summary); int nameCheck(String name); List getAllVideoExcludeId(String id); }