From 613ce905aa0b73e0f138a49fdb33ef16689ac260 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 31 一月 2024 16:58:34 +0800 Subject: [PATCH] 玩湃商户认证bug修改 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java index e1dfd0d..00bc4f7 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java @@ -56,12 +56,15 @@ OperatorAuthAlipay orderNo = operatorAuthService.getOne(new QueryWrapper<OperatorAuthAlipay>() .eq("orderNo", order_id)); if (orderNo!=null){ + orderNo.setRefuseReason(null); + operatorAuthService.updateById(orderNo); Integer operatorId = orderNo.getOperatorId(); OperatorUser operatorId1 = operatorUserService.getOne(new QueryWrapper<OperatorUser>() .eq("operatorId", operatorId)); if (operatorId1!=null){ operatorId1.setAlipayNum(smid); operatorId1.setAlipayAudit(2); + operatorUserService.updateById(operatorId1); } } }else if (msgApi.equals("ant.merchant.expand.indirect.zft.rejected")){ @@ -71,6 +74,7 @@ String order_id = json.getString("order_id"); OperatorAuthAlipay orderNo = operatorAuthService.getOne(new QueryWrapper<OperatorAuthAlipay>() .eq("orderNo", order_id)); + if (orderNo!=null){ orderNo.setRefuseReason(reason); operatorAuthService.updateById(orderNo); -- Gitblit v1.7.1