| | |
| | | .eq(auditStatus!=null,ShopWithdraw::getAuditStatus,auditStatus) |
| | | .orderByDesc(ShopWithdraw::getCreateTime) |
| | | ); |
| | | //添加转账的银行卡号和账户姓名 |
| | | List<ShopWithdraw> records = page.getRecords(); |
| | | for (ShopWithdraw record : records) { |
| | | |
| | | } |
| | | return R.ok(page); |
| | | } |
| | | |
| | | /* |
| | | @GetMapping("/shop/info") |
| | | @ApiOperation(value = "提现申请列表上方数据", notes = "提现申请列表", tags = {"门店后台"}) |
| | | public R<Shop> shopCommissionStatisticsinfo(){ |
| | |
| | | } |
| | | return R.ok(byId); |
| | | } |
| | | */ |
| | | |
| | | @GetMapping("/shop/with") |
| | | @ApiOperation(value = "提现申请", notes = "提现申请列表", tags = {"门店后台"}) |
| | |
| | | shopWithdraw.setAuditStatus(0);//待审核 |
| | | shopWithdraw.setStatus(1);//申请中 |
| | | shopWithdraw.setCreateTime(LocalDateTime.now()); |
| | | |
| | | shopWithdraw.setTradeMerchantNo(shop.getTradeMerchantNo()); |
| | | shopWithdraw.setReceiverAccountNoEnc(shop.getReceiverAccountNoEnc()); |
| | | shopWithdraw.setReceiverNameEnc(shop.getReceiverNameEnc()); |
| | | shopWithdraw.setReceiverBankChannelNo(shop.getReceiverBankChannelNo()); |
| | | shopWithdraw.setReceiverAccountType(shop.getReceiverAccountType()); |
| | | |
| | | shopWithdrawService.save(shopWithdraw); |
| | | //扣除账户余额及添加变动明细 |
| | | BigDecimal balance = shop.getBalance();//余额 |