Browse Source

no message

FengChaoYu 10 months ago
parent
commit
42cbebabfd

+ 3 - 0
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/order/PayOrderLogic.java

@@ -892,6 +892,9 @@ public class PayOrderLogic {
 
         List<String> collect = on.stream().map(WebsitNormCharge::getCategoryId).distinct().collect(Collectors.toList());
 
+        if (CollectionUtil.isEmpty(collect)) {
+            throw new RemoteServiceException("收费标准暂无数据");
+        }
 
         return websitGoodsCategoryService.lambdaQuery()
                 .eq(WebsitGoodsCategory::getCategoryLevel,2)