xin
2025-07-10 9bb306e77b07fe5296eecc2e8d7edf9c9f8187e9
oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java
@@ -119,7 +119,7 @@
        order.setOrderStatusDescribe(OrderStatusEnum.ZERO.getValue());
        order.setUserId(SecurityUtils.getCurrentUserId());
        order.setUsername(SecurityUtils.getCurrentUsername());
        Store store = storeService.getMerchantStore(submit.getStoreId());
        Store store = storeService.getById(submit.getStoreId());
        order.setStoreId(submit.getStoreId());
        order.setStoreName(store.getStoreName());
        order.setStoreLogo(store.getLogoImageUrl());
@@ -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())) {