package com.nuvole.four.mapper; import com.nuvole.four.domain.ChannelInfo; import com.nuvole.four.domain.dto.ChannelInfoDto; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; public interface ChannelInfoMapper { int deleteByPrimaryKey(Long id); int insert(ChannelInfo record); int insertSelective(ChannelInfo record); ChannelInfo selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(ChannelInfo record); int updateByPrimaryKey(ChannelInfo record); List selectAll(ChannelInfo record); /** * 方法描述:校验通道code是否存在 * * @date 2024-04-13 14:06 **/ @Select("select * from channel_info where channel_code = #{channelCode} ") ChannelInfo checkChannelCode(@Param("channelCode") String channelCode); /** * 方法描述: 分页查询通道列表 * * @date 2024-04-13 16:21 **/ List getPageList(ChannelInfo channelInfo); }