admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
110
111
112
113
114
115
package com.yeshi.fanli.service.inter.user.vip;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.user.vip.GiveVIPApplyInfo;
import com.yeshi.fanli.exception.ParamsException;
import com.yeshi.fanli.exception.user.vip.GiveVIPApplyInfoException;
import com.yeshi.fanli.exception.user.vip.UserVIPPreInfoException;
 
//会员赠送记录
public interface GiveVIPApplyInfoService {
 
    /**
     * 添加赠送会员记录
     * @Title: addGiveVIPApplyInfo
     * @Description: 
     * @param info
     * @return
     * @throws GiveVIPApplyInfoException 
     * GiveVIPApplyInfo 返回类型
     * @throws
     */
    public GiveVIPApplyInfo addGiveVIPApplyInfo(GiveVIPApplyInfo info)
            throws ParamsException, GiveVIPApplyInfoException;
 
    public GiveVIPApplyInfo selectByPrimaryKey(String id);
 
    /**
     * 修改信息
     * @Title: updateGiveVIPApplyInfo
     * @Description: 
     * @param info 
     * void 返回类型
     * @throws
     */
    public void updateGiveVIPApplyInfo(GiveVIPApplyInfo info);
 
    /**
     * 保存图片
     * @Title: saveImgs
     * @Description: 
     * @param id
     * @param imgList 
     * void 返回类型
     * @throws
     */
    public void saveImgs(String id, List<String> imgList);
 
    /**
     * 根据目标用户拉取数据
     * @Title: listBySourceUid
     * @Description: 
     * @param uid
     * @return 
     * List<GiveVIPApplyInfo> 返回类型
     * @throws
     */
    public List<GiveVIPApplyInfo> listByTargetUid(Long uid, int page, int pageSize);
 
    public long countByTargetUid(Long uid);
 
    /**
     * 根据源用户ID拉取数据
     * @Title: listBySourceUid
     * @Description: 
     * @param uid
     * @param page
     * @param pageSize
     * @return 
     * List<GiveVIPApplyInfo> 返回类型
     * @throws
     */
    public List<GiveVIPApplyInfo> listBySourceUid(Long uid, int page, int pageSize);
 
    public long countBySourceUid(Long uid);
 
    /**
     * 根据状态查询
     * @Title: listNeedVerify
     * @Description: 
     * @param page
     * @param pageSize
     * @return 
     * List<GiveVIPApplyInfo> 返回类型
     * @throws
     */
    public List<GiveVIPApplyInfo> listByStateAndTargetUid(Long targetUid, Integer state, int page, int pageSize);
 
    public long countByStateAndTargetUid(Long targetUid, Integer state);
 
    /**
     * 通过
     * @Title: pass
     * @Description: 
     * @param id
     * @throws GiveVIPApplyInfoException 
     * void 返回类型
     * @throws
     */
    public void pass(String id, Long adminId) throws GiveVIPApplyInfoException, UserVIPPreInfoException;
 
    /**
     * 拒绝
     * @Title: reject
     * @Description: 
     * @param id
     * @param adminId 审核人员ID
     * @param reason 拒绝理由
     * @throws GiveVIPApplyInfoException 
     * void 返回类型
     * @throws
     */
    public void reject(String id, Long adminId, String reason) throws GiveVIPApplyInfoException;
 
}