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
package com.yeshi.buwan.service.inter.live;
 
import com.yeshi.buwan.domain.live.TVLiveProgramResource;
import com.yeshi.buwan.exception.ParamsException;
 
import javax.validation.Valid;
import java.util.List;
 
public interface TVLiveProgramResourceService {
 
    /**
     * 新增
     *
     * @param resource
     * @throws ParamsException
     */
    public void add(@Valid TVLiveProgramResource resource) throws ParamsException;
 
    /**
     *
     * @param channelId
     * @return
     */
    public List<TVLiveProgramResource> listByChannelId(String channelId,int page, int pageSize);
 
 
    public List<TVLiveProgramResource> listByType(TVLiveProgramResource.TVLiveProgramResourceType type,int page,int pageSize);
 
}