From fc1a066edd335345167df7573f9119ef8dd1689a Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Thu, 10 Jul 2025 17:36:47 +0800 Subject: [PATCH] 小程序:微信授权登录角色处理 --- oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java b/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java index c185dc3..7f31fb6 100644 --- a/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java +++ b/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java @@ -165,7 +165,7 @@ if (product == null) { throw new BadRequestException("商品不存在"); } - if (product.getStoreId().equals(criteria.getStoreId())) { + if (!product.getStoreId().equals(criteria.getStoreId())) { throw new BadRequestException("不支持跨门店下单"); } if (!product.getStatus().equals(ProductStatusEnum.AVAILABLE.getValue())) { -- Gitblit v1.9.3