Browse Source

bug--预警提示

buzhanyi 2 năm trước cách đây
mục cha
commit
47dc077281

+ 5 - 0
purchase-admin/src/main/java/com/ozs/web/controller/tool/PmTaskServer.java

@@ -76,6 +76,11 @@ public class PmTaskServer {
                         pmDemand.setDemandId(item.getDemandId());
                         pmDemand.setWarnStatus(WarnStatus.PLAN_DELIVER_WARNING.getCode());
                         updateList.add(pmDemand);
+                    } else {
+                        PmDemand pmDemand = new PmDemand();
+                        pmDemand.setDemandId(item.getDemandId());
+                        pmDemand.setWarnStatus(WarnStatus.NORMAL.getCode());
+                        updateList.add(pmDemand);
                     }
                 }
             }