From 485b09d75ac79350392e234a62521050bf6374de Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期二, 04 三月 2025 11:00:43 +0800 Subject: [PATCH] 修改物流信息导入模板 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java index 7cb824a..9b46fcf 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java @@ -70,9 +70,13 @@ @Resource private SysUserClient sysUserClient; - - - + + + @GetMapping("/getShopById") + @ApiOperation("通过门店id获取账户信息回填") + public R<Shop> getShopById(Integer id) { + return R.ok(shopService.getById(id)); + } /** * 提现申请列表 @@ -138,7 +142,6 @@ }else { byId.setWithdrawAuditMoney(BigDecimal.ZERO); } - byId.setWithdrawMoney(byId.getWithdrawMoney().subtract(byId.getWithdrawAuditMoney())); return R.ok(byId); } @@ -219,6 +222,7 @@ singlePay.setReceiverAccountNoEnc(shop.getReceiverAccountNoEnc()); singlePay.setReceiverNameEnc(shop.getReceiverNameEnc()); singlePay.setReceiverAccountType(shop.getReceiverAccountType()); + singlePay.setReceiverBankChannelNo(shop.getReceiverBankChannelNo()); singlePay.setPaidAmount(shopWithdraw1.getMoney().doubleValue()); singlePay.setPaidDesc("账户余额提现"); singlePay.setPaidUse("208"); -- Gitblit v1.7.1