LiveApplyService.java
2.2 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
103
104
105
106
107
108
109
package com.cnlive.shenhe.service;
import com.cnlive.shenhe.bean.ResponseBean;
import com.cnlive.shenhe.dto.LiveApplyDTO;
import com.cnlive.shenhe.entity.ShyLiveapply;
import com.github.pagehelper.PageInfo;
import java.util.List;
/**
* @Author: yan-zhao-wang
* @DateTime: 2022-11-02 14:26
*/
public interface LiveApplyService {
/**
* 导入直播申请
*
* @param shyLiveApply
* @return
*/
boolean impotLiveApply(ShyLiveapply shyLiveApply);
/**
* 根据主键id查询直播申请对象
*
* @param id
* @return
*/
ShyLiveapply selectByPrimaryKey(Integer id);
/**
* 根据条件查询直播申请集合
*
* @param shyLiveApply
* @return
*/
List<ShyLiveapply> findShyLiveApply(ShyLiveapply shyLiveApply);
/**
* 修改直播申请对象 返回布尔类型
*
* @param shyLiveApply
* @return
*/
boolean updateShyLiveApply(ShyLiveapply shyLiveApply);
/**
* 修改直播申请对象 返回int类型
*
* @param id
* @param auditorId
* @param updater
* @param status
* @param msg
* @return
*/
int updateLiveApply(Integer id, String auditorId, String updater, Integer status, String msg);
/**
* 获取分页、条件查询
*
* @param liveApplyDTO
* @return
*/
PageInfo<ShyLiveapply> getListLiveApply(LiveApplyDTO liveApplyDTO);
/**
* 获取直播申请详情
*
* @param id
* @return
*/
ShyLiveapply getDetailsLiveApply(Integer id, Integer spId);
/**
* 认领
*
* @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 liveApplyDTO
* @return
*/
List<ShyLiveapply> findByCondition(LiveApplyDTO liveApplyDTO);
/**
* 获取审核类型
*
* @param shyLiveApply
*/
void getShenheType(ShyLiveapply shyLiveApply);
}