From df6efd77578c8ba54d1ae3be9198c70fb5173399 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期六, 29 八月 2026 01:46:11 +0800
Subject: [PATCH] feat(mes): 报工只填写报工数量,合格/不良数量由质检确定;快速报工响应返回剩余可报工数量

---
 yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/enums/common/CrmSceneTypeEnum.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/enums/common/CrmSceneTypeEnum.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/enums/common/CrmSceneTypeEnum.java
index 9a1a420..d129d02 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/enums/common/CrmSceneTypeEnum.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/enums/common/CrmSceneTypeEnum.java
@@ -18,7 +18,8 @@
 
     OWNER(1, "鎴戣礋璐g殑"),
     INVOLVED(2, "鎴戝弬涓庣殑"),
-    SUBORDINATE(3, "涓嬪睘璐熻矗鐨�");
+    SUBORDINATE(3, "涓嬪睘璐熻矗鐨�"),
+    ALL(4, "鍏ㄩ儴");
 
     public static final Integer[] ARRAYS = Arrays.stream(values()).map(CrmSceneTypeEnum::getType).toArray(Integer[]::new);
 
@@ -43,6 +44,10 @@
         return ObjUtil.equal(SUBORDINATE.getType(), type);
     }
 
+    public static boolean isAll(Integer type) {
+        return ObjUtil.equal(ALL.getType(), type);
+    }
+
     @Override
     public Integer[] array() {
         return ARRAYS;

--
Gitblit v1.9.3