无关风月
2025-03-27 0f7c14b0e1048ac5284193f362ba10ae0791ffde
xinquan-modules/xinquan-user/src/main/java/com/xinquan/user/controller/client/ClientAppUserWithdrawController.java
@@ -323,8 +323,12 @@
        appUserWalletRecord.setReason("提现");
        appUserWalletRecord.setAmount(new BigDecimal(money));
        BigDecimal bigDecimal1 = new BigDecimal(money).setScale(2, RoundingMode.HALF_DOWN);
        String s2 = JuHeFuUtil.queryUserList(byId1.getIdentityCard());
        if (StringUtils.hasLength(s2)){
            byId.setFenzhangId(s2);
        }
        String s1 = JuHeFuUtil.updateAccount(byId.getFenzhangId(), byId1.getCardholder(), byId1.getCellPhone(), byId1.getCardNo());
        if (s1.contains("false")){
        if (!s1.contains("success")){
            // 修改报错 弹出提示
            return R.fail("银行卡信息或持卡人信息有误,请核对后输入");
        }
@@ -550,6 +554,11 @@
        appUserBankService.save(appUserWithdraw);
        // 查询是否已经开户
        AppUser byId = appUserService.getById(userId);
        String s2 = JuHeFuUtil.queryUserList(appUserWithdraw.getIdentityCard());
        if (StringUtils.hasLength(s2)){
            byId.setFenzhangId(s2);
            appUserService.updateById(byId);
        }
        if (byId.getFenzhangId()==null){
            // 开户
            long time = new Date().getTime();