From 91433312674823d8d1a55aabc101d896215e5be1 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Thu, 15 Jan 2026 13:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/czg/service/order/service/impl/PayServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 666b2764d..37a1c1331 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 @@ -181,7 +181,7 @@ public class PayServiceImpl implements PayService { private ShopMerchant getMerchant(Long shopId) { try { - ShopMerchant shopMerchant = shopMerchantService.getById(shopId); + ShopMerchant shopMerchant = shopMerchantService.getOne(new QueryWrapper().eq(ShopMerchant::getShopId, shopId)); if (shopMerchant == null || StrUtil.isBlank(shopMerchant.getChannel())) { throw new CzgException("暂未开通支付"); }