From 5632ae9ae36760932c1aeb1b43f954c0367379f2 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 29 Mar 2021 14:18:58 +0800
Subject: [PATCH] modify

---
 zq-erp/src/main/java/com/matrix/system/shopXcx/api/action/WxSalesWithdrawalAction.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/action/WxSalesWithdrawalAction.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/action/WxSalesWithdrawalAction.java
index 619235b..817d16c 100644
--- a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/action/WxSalesWithdrawalAction.java
+++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/action/WxSalesWithdrawalAction.java
@@ -14,7 +14,6 @@
 import com.matrix.system.hive.service.CodeService;
 import com.matrix.system.shopXcx.api.dto.RevenueFlowDto;
 import com.matrix.system.shopXcx.api.dto.WithdrawalCashDto;
-import com.matrix.system.shopXcx.vo.SalesOrderVo;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiResponse;
@@ -58,15 +57,15 @@
     CodeService codeService;
 
     @ApiOperation(value = "获取收支明细", notes = "")
-    @PostMapping(value = "/getInvitationuserList")
+    @PostMapping(value = "/getRevenueFlow")
     @ApiResponses({
             @ApiResponse(code = 200, message = "ok", response = ShopRevenueFlow.class)
     })
     AjaxResult getInvitationuserList(@RequestBody @Validated RevenueFlowDto revenueFlowDto) {
         BizUser loginUser = redisUserLoginUtils.getLoginUser(BizUser.class);
-        Page<SalesOrderVo> page=new Page<>(revenueFlowDto.getPageNum(),revenueFlowDto.getPageSize());
+        Page<ShopRevenueFlow> page=new Page<>(revenueFlowDto.getPageNum(),revenueFlowDto.getPageSize());
         revenueFlowDto.setUserId(loginUser.getOpenId());
-        IPage<SalesOrderVo> shopSalesmanApplyIPage = revenueFlowDao.selectRevenuFlowList(page,  revenueFlowDto);
+        IPage<ShopRevenueFlow> shopSalesmanApplyIPage = revenueFlowDao.selectRevenuFlowList(page,  revenueFlowDto);
         AjaxResult result=AjaxResult.buildSuccessInstance(shopSalesmanApplyIPage.getRecords());
         return result;
     }
@@ -110,6 +109,7 @@
                 //扣除用户剩余提现金额
                 loginUser.setWithdrawalCash(loginUser.getWithdrawalCash()-withdrawalCashDto.getAmount());
                 bizUserDao.updateByModel(loginUser);
+                redisUserLoginUtils.updateUserInfo(loginUser);
 
 
                 return AjaxResult.buildSuccessInstance("提现成功");

--
Gitblit v1.9.1