From f30342f8762f598da78ee9be80779085347af067 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Thu, 10 Jul 2025 15:51:32 +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