mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.service_community.service;
 
import java.math.BigDecimal;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.dtos.community.wallet.ComActWalletDetailDTO;
import com.panzhihua.common.model.dtos.community.wallet.ComActWalletSettlementAdminDTO;
import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO;
import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.model.dos.ComActUserWalletDO;
 
/**
 * @auther lyq
 * @create 2021-06-25 10:35:11
 * @describe 用户钱包表服务类
 */
public interface ComActUserWalletService extends IService<ComActUserWalletDO> {
 
    /**
     * 查询用户钱包信息
     * 
     * @param walletDetailDTO
     *            请求参数
     * @return 用户钱包信息
     */
    R getWallet(ComActWalletDetailDTO walletDetailDTO);
 
    /**
     * 查询用户绑定的社区收益排行榜
     * 
     * @param walletTradeDTO
     *            请求参数
     * @return 社区收益排行榜
     */
    R getWalletRanking(PageComActWalletTradeDTO walletTradeDTO);
 
    /**
     * 随手拍审核通过给用户添加收益
     * 
     * @param activityType
     *            审核通过选择的随手拍标签(1.优质 2.精良 3.普通)
     * @param easyPhotoId
     *            随手拍id
     * @param userId
     *            发放用户id
     * @param amount
     *            发放奖励金额
     */
    void examineAddMoney(Integer activityType, Long easyPhotoId, Long userId, BigDecimal amount);
 
    /**
     * 分页查询收益结算列表
     * 
     * @param pageWalletAdminDTO
     *            请求参数
     * @return 收益结算列表
     */
    R pageUserWalletAdmin(PageComActWalletAdminDTO pageWalletAdminDTO);
 
    /**
     * 用户结算收益
     * 
     * @param settlementAdminDTO
     *            请求参数
     * @return 结算结果
     */
    R userWalletSettlementAdmin(ComActWalletSettlementAdminDTO settlementAdminDTO);
 
}