liujc 1 ヶ月 前
コミット
fc1542609b

+ 3 - 0
cooleshow-mall/mall-portal/src/main/java/com/yonge/cooleshow/portal/service/impl/OmsPortalOrderServiceImpl.java

@@ -712,6 +712,9 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
         Map<String,Set<CheckStatus>> orderStatusMap = new HashMap<>();
         if (!omsOrders.isEmpty()) {
             for (OmsOrder omsOrder : omsOrders) {
+                if (!"STUDENT,TEACHER".contains(omsOrder.getPlatformType())) {
+                    continue;
+                }
                 switch (omsOrder.getStatus()) {
                     case 0:
                     case 6: {