admin
2021-09-24 f788607ff771a47bc60d6a86e00b3433c40f3d2c
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
package com.yeshi.buwan.service.inter.live;
 
import com.yeshi.buwan.domain.live.TVLiveChannel;
import com.yeshi.buwan.exception.ParamsException;
 
import javax.validation.Valid;
import java.util.List;
 
public interface TVLiveChannelService {
 
    /**
     * 保存频道
     *
     * @param channel
     * @throws ParamsException
     */
    public TVLiveChannel save(@Valid TVLiveChannel channel) throws ParamsException;
 
 
    public TVLiveChannel addChannel(@Valid TVLiveChannel channel) throws ParamsException,Exception;
 
    public void delete(String id);
 
    public void update(TVLiveChannel channel);
 
    public List<TVLiveChannel> list(String name, Integer state, int page, int pageSize);
 
    public long count(String name, Integer state);
 
    public TVLiveChannel selectByPrimaryKey(String id);
 
    public void savePrograms(String id, List<TVLiveChannel.TVLiveProgram> tvLivePrograms);
 
 
}