ChannelService.java
1.68 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package com.cnlive.shenhe.service;
import com.cnlive.shenhe.dto.ChannelDTO;
import com.cnlive.shenhe.entity.ShyChannel;
import com.github.pagehelper.PageInfo;
import java.util.List;
/**
* @Author: yan-zhao-wang
* @DateTime: 2022-10-31 9:53
*/
public interface ChannelService {
/**
* 根据条件查询频道集合
*
* @param shyChannel
* @return
*/
List<ShyChannel> findshyChannel(ShyChannel shyChannel);
/**
* 修改频道 返回布尔类型
*
* @param shyChannel
* @return
*/
boolean updateshyChannel(ShyChannel shyChannel);
/**
* 导入频道 返回布尔类型
*
* @param shyChannel
* @return
*/
boolean impotChannel(ShyChannel shyChannel);
/**
* 获取分页、条件查询结果集
*
* @param channelDTO
* @return
*/
PageInfo<ShyChannel> getPage(ChannelDTO channelDTO);
/**
* 获取频道详情
*
* @param id
* @return
*/
ShyChannel getDetailsChannel(Integer id);
/**
* 修改频道状态
*
* @param ids
* @param state
* @param userId
* @param updater
* @param msg
* @return
*/
boolean updateState(String ids, Integer state, String userId, String updater, String msg);
/**
* 根据主键查询频道对象
*
* @param id
* @return
*/
ShyChannel selectByPrimaryKey(Integer id);
/**
* 根据主键修改频道对象
*
* @param channel
* @return
*/
int updateByPrimaryKeySelective(ShyChannel channel);
/**
* 获得审核类型
*
* @param shyChannel
*/
void getShenheType(ShyChannel shyChannel);
}