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
package com.panzhihua.service_community.dao;
 
import java.util.Map;
 
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO;
import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO;
import com.panzhihua.common.model.vos.community.wallet.ComActWalletAdminVO;
import com.panzhihua.common.model.vos.community.wallet.ComActWalletRankingVO;
import com.panzhihua.service_community.model.dos.ComActUserWalletDO;
 
/**
 * @auther lyq
 * @create 2021-06-25 10:35:11
 * @describe 用户钱包表mapper类
 */
@Mapper
public interface ComActUserWalletMapper extends BaseMapper<ComActUserWalletDO> {
 
    Map<String, String> getCommunityName(@Param("communityId") Long communityId, @Param("type") Integer type);
 
    Map<String, String> getAgreementContent(@Param("communityId") Long communityId, @Param("type") Integer type);
 
    /**
     * 查询用户绑定的社区收益排行榜
     * 
     * @param walletTradeDTO
     *            请求参数
     * @return 社区收益排行榜
     */
    IPage<ComActWalletRankingVO> getWalletRanking(Page page,
        @Param("walletTradeDTO") PageComActWalletTradeDTO walletTradeDTO);
 
    /**
     * 分页查询收益结算列表
     * 
     * @param pageWalletAdminDTO
     *            请求参数
     * @return 收益结算列表
     */
    IPage<ComActWalletAdminVO> getUserWalletList(Page page,
        @Param("pageWalletAdminDTO") PageComActWalletAdminDTO pageWalletAdminDTO);
 
    void insertSysAgreement(@Param("content") String content, @Param("name") String name,
        @Param("communityId") Long communityId, @Param("type") Integer type);
 
}