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);
|
|
}
|