| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeAdminDTO; |
| | | import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.model.dos.ComActUserWalletTradeDO; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @auther lyq |
| | |
| | | */ |
| | | R getWalletTrade(PageComActWalletTradeDTO walletTradeDTO); |
| | | |
| | | /** |
| | | * 新增钱包交易记录 |
| | | * @param userId 用户id |
| | | * @param communityId 社区id |
| | | * @param serviceId 交易业务id |
| | | * @param amount 交易金额 |
| | | * @param type 交易类型(1.发布随手拍 2.结算) |
| | | * @param remark 交易备注 |
| | | * @param createBy 操作人id |
| | | * @param walletId 钱包id |
| | | * @param changeType 变动类型(1.增加 2.减少) |
| | | */ |
| | | Long addWalletTrade(Long userId, Long communityId, Long serviceId, BigDecimal amount,Integer type,String remark,Long createBy,Long walletId,Integer changeType); |
| | | |
| | | R pageUserWalletTradeAdmin(PageComActWalletTradeAdminDTO pageTradeAdminDTO); |
| | | } |