| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO; |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | 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.PageComActWalletTradeAdminDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.service.ComActUserWalletService; |
| | | import com.panzhihua.service_community.service.ComActUserWalletTradeService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | @Slf4j |
| | | @RestController |
| | |
| | | |
| | | /** |
| | | * 分页查询收益结算列表 |
| | | * @param pageWalletAdminDTO 请求参数 |
| | | * @return 收益结算列表 |
| | | * |
| | | * @param pageWalletAdminDTO |
| | | * 请求参数 |
| | | * @return 收益结算列表 |
| | | */ |
| | | @PostMapping("/page") |
| | | public R page(@RequestBody PageComActWalletAdminDTO pageWalletAdminDTO){ |
| | | public R page(@RequestBody PageComActWalletAdminDTO pageWalletAdminDTO) { |
| | | return comActUserWalletService.pageUserWalletAdmin(pageWalletAdminDTO); |
| | | } |
| | | |
| | | /** |
| | | * 用户结算收益 |
| | | * @param settlementAdminDTO 请求参数 |
| | | * @return 结算结果 |
| | | * |
| | | * @param settlementAdminDTO |
| | | * 请求参数 |
| | | * @return 结算结果 |
| | | */ |
| | | @PostMapping("/settlement") |
| | | public R settlement(@RequestBody ComActWalletSettlementAdminDTO settlementAdminDTO){ |
| | | public R settlement(@RequestBody ComActWalletSettlementAdminDTO settlementAdminDTO) { |
| | | return comActUserWalletService.userWalletSettlementAdmin(settlementAdminDTO); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询交易记录 |
| | | * |
| | | * @param pageTradeAdminDTO 请求参数 |
| | | * @param pageTradeAdminDTO |
| | | * 请求参数 |
| | | * @return 交易记录列表 |
| | | */ |
| | | @PostMapping("/trade/page") |
| | | public R tradePage(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO){ |
| | | public R tradePage(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO) { |
| | | return comActUserWalletTradeService.pageUserWalletTradeAdmin(pageTradeAdminDTO); |
| | | } |
| | | |
| | | /** |
| | | * 查询用户交易记录总额 |
| | | * @param pageTradeAdminDTO 请求参数 |
| | | * @return 交易记录总额 |
| | | * |
| | | * @param pageTradeAdminDTO |
| | | * 请求参数 |
| | | * @return 交易记录总额 |
| | | */ |
| | | @PostMapping("/trade/total") |
| | | public R getTradeUserTotalWalletTradeAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO){ |
| | | public R getTradeUserTotalWalletTradeAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO) { |
| | | return comActUserWalletTradeService.getTradeUserTotalWalletTradeAdmin(pageTradeAdminDTO); |
| | | } |
| | | |
| | | @PostMapping("/trade/statistics") |
| | | public R getTradeUserStatisticsAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO){ |
| | | public R getTradeUserStatisticsAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO) { |
| | | return comActUserWalletTradeService.getTradeUserStatisticsAdmin(pageTradeAdminDTO); |
| | | } |
| | | |
| | | @PostMapping("/trade/export") |
| | | public R getTradeUserTotalWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO){ |
| | | public R getTradeUserTotalWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO) { |
| | | return comActUserWalletTradeService.getTradeUserTotalWalletTradeExportAdmin(pageTradeAdminDTO); |
| | | } |
| | | |
| | | @PostMapping("/trade/reward/export") |
| | | public R getTradeUserTotalJLWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO){ |
| | | public R getTradeUserTotalJLWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO) { |
| | | return comActUserWalletTradeService.getTradeUserTotalJLWalletTradeExportAdmin(pageTradeAdminDTO); |
| | | } |
| | | |
| | | |
| | | } |