From c42b5ee77dd5319fa0bdb63eb24f07fecf1f4040 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Thu, 6 Mar 2025 14:53:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E5=A1=AB=E9=80=80=E6=AC=BE=E5=89=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account-server/src/main/resources/application-test.yml | 1 - .../order-server/src/main/resources/application-test.yml | 1 - .../com/czg/service/order/service/impl/PayServiceImpl.java | 5 ++--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cash-api/account-server/src/main/resources/application-test.yml b/cash-api/account-server/src/main/resources/application-test.yml index f0e630f15..b3dd46131 100644 --- a/cash-api/account-server/src/main/resources/application-test.yml +++ b/cash-api/account-server/src/main/resources/application-test.yml @@ -30,7 +30,6 @@ dubbo: name: account-server qos-port: 22222 qos-enable: true - serialize-check-status: DISABLE registry: address: nacos://121.40.109.122:8848 # Nacos 服务地址 group: server-test diff --git a/cash-api/order-server/src/main/resources/application-test.yml b/cash-api/order-server/src/main/resources/application-test.yml index 5e22b18fb..1dd96a1b0 100644 --- a/cash-api/order-server/src/main/resources/application-test.yml +++ b/cash-api/order-server/src/main/resources/application-test.yml @@ -32,7 +32,6 @@ dubbo: name: order-server qos-port: 22232 qos-enable: true - serialize-check-status: DISABLE registry: address: nacos://121.40.109.122:8848 # Nacos 服务地址 group: server-test diff --git a/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/PayServiceImpl.java b/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/PayServiceImpl.java index 9619472fa..80c6e84a3 100644 --- a/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/PayServiceImpl.java +++ b/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/PayServiceImpl.java @@ -405,10 +405,9 @@ public class PayServiceImpl implements PayService { Map resultMap = new HashMap<>(5); ShopUser shopUser = shopUserService.getShopUserInfo(payParam.getShopId(), payParam.getUserId()); AssertUtil.isNull(shopUser, "该店铺用户不存在"); - ShopUserFlow inFlow = userFlowService.queryChain().select() - .eq(ShopUserFlow::getId, payParam.getFlowId()).one(); + ShopUserFlow inFlow = userFlowService.getById(payParam.getFlowId()); AssertUtil.isNull(inFlow, "充值记录不存在"); - ShopUserFlow giftFlow = userFlowService.queryChain().select() + ShopUserFlow giftFlow = userFlowService.queryChain() .eq(ShopUserFlow::getRelationId, payParam.getFlowId()) .eq(ShopUserFlow::getBizCode, ShopUserFlowBizEnum.AWARD_IN.getCode()) .one();