Browse Source

下wcstask任务优化

k 1 year ago
parent
commit
0641540c38

+ 1 - 1
warewms-ams/src/main/java/com/ruoyi/ams/business/BusinessServiceImpl.java

@@ -730,7 +730,7 @@ public class BusinessServiceImpl implements IBusinessService {
         }
 
         Integer priority = 1;
-        if (!wcsTask.getTaskType().equals("OB")) {
+        if (wcsTask.getTaskType().equals("OB")) {
             if (wcsTask.getPriority() == 99) {
                 int current = wcsTaskMapper.selectCurrentPriority();
                 priority = current - 100;