‘linchangsheng’ 10 月之前
父節點
當前提交
a59ed9be5c

+ 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("师傅存在未完工工单,请改派后再离职");
         }