oying-system/src/main/java/com/oying/modules/sh/domain/request/ProductOrder.java
@@ -14,7 +14,7 @@ public class ProductOrder { @ApiModelProperty(value = "商品ID") private String productId; private Long productId; @ApiModelProperty(value = "数量") private Integer count; } 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())) {