xuekang
2024-05-13 15a0280ae9e7db96fdf0744c722d214d2cb5a0e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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<ChannelInfo> 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<ChannelInfoDto> getPageList(ChannelInfo channelInfo);
}