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
package com.panzhihua.service_community.service;
 
import java.util.List;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO;
import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralRuleDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.integral.ComActIntegralUserRuleVO;
import com.panzhihua.service_community.model.dos.ComActIntegralRuleDO;
 
/**
 * @auther lyq
 * @create 2021-07-28 16:02:46
 * @describe 积分规则表服务类
 */
public interface ComActIntegralRuleService extends IService<ComActIntegralRuleDO> {
 
    /**
     * 查询社区下积分任务列表
     * 
     * @param communityId
     *            社区id
     * @return 查询社区下积分任务列表
     */
    List<ComActIntegralUserRuleVO> getIntegralReceiveApplets(Long communityId);
 
    /**
     * 社区后台-根据社区id查询社区下积分规则列表
     * 
     * @param integralRuleDTO
     *            请求参数
     * @return 社区下积分规则列表
     */
    R getIntegralRuleAdminList(PageComActIntegralRuleDTO integralRuleDTO);
 
    /**
     * 社区后台-编辑社区积分规则
     * 
     * @param integralRuleDTO
     *            请求参数
     * @return 编辑结果
     */
    R editIntegralRuleAdmin(EditComActIntegralRuleDTO integralRuleDTO);
 
    /**
     * 根据社区id查询社区默认积分规则列表
     * 
     * @param communityId
     *            社区id
     * @return 社区默认积分规则列表
     */
    List<ComActIntegralRuleDO> getIntegralRuleList(Long communityId);
 
}