From 98f2e843d13efe8e48a1bc210d82f3f85528f561 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 21 十月 2025 11:50:43 +0800
Subject: [PATCH] 最新版本541200007

---
 server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformServiceImpl.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformServiceImpl.java
index 377c814..31254d5 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformServiceImpl.java
@@ -144,14 +144,15 @@
                 throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"瀵逛笉璧凤紝鏈堝彴缁勪俊鎭笉姝g‘锛�");
             }
             //濡傛灉鏈堝彴鍒嗙粍鍙戠敓鍙樺寲
-            Long count =  platformJobJoinMapper.selectCount(  new QueryWrapper<PlatformJob>().lambda()
+            Long count =  platformJobJoinMapper.selectCount( new QueryWrapper<PlatformJob>().lambda()
                     .eq(PlatformJob::getIsdeleted,Constants.ZERO)
                     .eq(PlatformJob::getPlatformId,model.getId())
-                    .notIn(PlatformJob::getStatus,Constants.PlatformJobStatus.WART_SIGN_IN.getKey()
-                            ,Constants.PlatformJobStatus.WAIT_CONFIRM.getKey()
-                            ,Constants.PlatformJobStatus.DONE.getKey()
-                            ,Constants.PlatformJobStatus.LEAVED.getKey()
-                            ,Constants.PlatformJobStatus.CANCEL.getKey()
+                    .in(PlatformJob::getStatus,Constants.PlatformJobStatus.IN_WAIT.getKey()
+                            ,Constants.PlatformJobStatus.CALLED.getKey()
+                            ,Constants.PlatformJobStatus.WORKING.getKey()
+                            ,Constants.PlatformJobStatus.TRANSFERING.getKey()
+                            ,Constants.PlatformJobStatus.EXCEPTION.getKey()
+                            ,Constants.PlatformJobStatus.OVER_NUMBER.getKey()
                     ));
             if(count!=null && count>0){
                 throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝褰撳墠鏈堝彴鏈夋鍦ㄤ綔涓氱殑浠诲姟锛屼笉鑳借繘琛屾湀鍙扮粍鍒囨崲鎿嶄綔锛�");

--
Gitblit v1.9.3