Pu Zhibing
2025-02-27 f0a9a41697a8568e8b3bd3436c450e68b3298916
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
package com.panzhihua.service_community.dao;
 
import java.util.List;
 
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.integral.admin.PageComActIntegralRuleDTO;
import com.panzhihua.common.model.vos.community.integral.ComActIntegralUserRuleVO;
import com.panzhihua.common.model.vos.community.integral.admin.ComActIntegralUserRuleAdminVO;
import com.panzhihua.service_community.model.dos.ComActIntegralRuleDO;
 
/**
 * @auther lyq
 * @create 2021-07-28 16:02:46
 * @describe 积分规则表mapper类
 */
@Mapper
public interface ComActIntegralRuleMapper extends BaseMapper<ComActIntegralRuleDO> {
 
    /**
     * 查询社区下积分任务列表
     * 
     * @param communityId
     *            社区id
     * @return 查询社区下积分任务列表
     */
    List<ComActIntegralUserRuleVO> getIntegralReceiveApplets(@Param("communityId") Long communityId);
 
    /**
     * 社区后台-根据社区id查询社区下积分规则列表
     * 
     * @param integralRuleDTO
     *            请求参数
     * @return 社区下积分规则列表
     */
    IPage<ComActIntegralUserRuleAdminVO> getIntegralRuleAdminList(Page page,
        @Param("integralRuleDTO") PageComActIntegralRuleDTO integralRuleDTO);
 
    /**
     * 查询默认启动的积分规则列表
     * 
     * @return 默认积分规则列表
     */
    List<ComActIntegralRuleDO> getIntegralDefaultList();
 
}