LiveService.java
1.97 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.cnlive.shenhe.service;
import com.cnlive.shenhe.bean.ResponseBean;
import com.cnlive.shenhe.dto.LiveDTO;
import com.cnlive.shenhe.entity.ShyLive;
import com.github.pagehelper.PageInfo;
import java.util.List;
/**
* @Author: yan-zhao-wang
* @DateTime: 2022-11-02 14:25
*/
public interface LiveService {
/**
* 直播导入
*
* @param shyLive
* @return
*/
boolean impotVideo(ShyLive shyLive);
/**
* 根据id查询 返回直播对象
*
* @param id
* @return
*/
ShyLive selectByPrimaryKey(Integer id);
/**
* 根据条件查询 返回直播对象集合
*
* @param shyLive
* @return
*/
List<ShyLive> findShyLive(ShyLive shyLive);
/**
* 修改直播对象 返回boolean类型
*
* @param shyLive
* @return
*/
boolean updateShyLive(ShyLive shyLive);
/**
* 根据id查询,修改对象的关键信息 返回int类型
*
* @param id
* @param auditorId
* @param updater
* @param activityStatus
* @param msg
* @return
*/
int updateLive(Integer id, String auditorId, String updater, Integer activityStatus, String msg);
/**
* 分页、条件查询、返回分页结果集合
*
* @param liveDTO
* @return
*/
PageInfo<ShyLive> getListLive(LiveDTO liveDTO);
/**
* 根据id获取直播详情信息
*
* @param id
* @return
*/
ShyLive getDetailsLive(Integer id);
/**
* 认领
*
* @param ids
* @param num
* @param userId
* @param spid
* @return
*/
Integer receive(String ids, Integer num, String userId, Integer spid);
/**
* 退领
*
* @param ids
* @param userId
* @return
*/
ResponseBean retReceive(String ids, String userId);
/**
* 根据条件导出数据excel
*
* @param liveDTO
* @return
*/
List<ShyLive> findByCondition(LiveDTO liveDTO);
}