package com.panzhihua.service_community.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.integral.IntegralUserRankVO;
|
import com.panzhihua.service_community.model.dos.ComActIntegralUserDO;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* @auther lyq
|
* @create 2021-07-28 16:02:57
|
* @describe 用户积分账户表服务类
|
*/
|
public interface ComActIntegralUserService extends IService<ComActIntegralUserDO> {
|
|
/**
|
* 小程序-查询积分说明
|
*
|
* @return 积分说明
|
*/
|
R getIntegralExplainApplets();
|
|
/**
|
* 用户查询当前社区可领取积分规则列表
|
*
|
* @param userId
|
* 用户id
|
* @param communityId
|
* 社区id
|
* @return 可领取积分规则列表
|
*/
|
R getIntegralReceiveApplets(Long userId, Long communityId);
|
|
/**
|
* 小程序-积分统计
|
*
|
* @param userId
|
* 用户id
|
* @return 用户积分列表
|
*/
|
R getIntegralUserListApplets(Long userId, Long communityId);
|
|
/**
|
* 查询社区积分账户排行榜
|
*
|
* @param communityRankDTO
|
* 请求参数
|
* @return 社区积分账户排行榜
|
*/
|
R getIntegralCommunityRankApplets(ComActIntegralCommunityRankDTO communityRankDTO);
|
|
/**
|
* 根据社区活动id查询社区活动报名且未参与人员列表
|
*
|
* @param activityId
|
* 活动id
|
* @return 社区活动报名且未参与人员列表
|
*/
|
R getTaskActivityPeopleList(Long activityId);
|
|
/**
|
* 查询我的积分余额
|
* @param userId
|
* @param communityId
|
* @return
|
*/
|
R getUserIntegralBalance(Long userId, Long communityId);
|
|
/**
|
* 获取积分详情
|
* @param id
|
* @return
|
*/
|
R getUserIntegralDetail(Long id);
|
|
|
/**
|
* 小程序-查询用户在当前社区积分排名
|
*
|
* @param userId
|
* 用户id
|
* @param communityId
|
* 社区id
|
* @return 用户在当前社区积分排名
|
*/
|
IntegralUserRankVO getIntegralUserRank(Long communityId,Long userId);
|
|
|
}
|