‘linchangsheng’ преди 10 месеца
родител
ревизия
a59ed9be5c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/WorkerManagerLogic.java

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/WorkerManagerLogic.java

@@ -118,7 +118,7 @@ public class WorkerManagerLogic {
                         OrderBaseStatusEnum.YGBGD.getKey(),OrderBaseStatusEnum.FGFZF.getKey(),OrderBaseStatusEnum.YZFGD.getKey(),
                         OrderBaseStatusEnum.FZXBWG.getKey(),OrderBaseStatusEnum.FBBWG.getKey(),OrderBaseStatusEnum.LSXX.getKey(),
                         OrderBaseStatusEnum.PLGB.getKey(),OrderBaseStatusEnum.ZCGB.getKey()
-                        ).count() > 1) {
+                        ).count() > 0) {
 
             throw new RemoteServiceException("师傅存在未完工工单,请改派后再离职");
         }