From d7355ce983c2bddcc5b95e4d84283f6631fb176a Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期四, 27 十一月 2025 13:38:46 +0800
Subject: [PATCH] 修改入出库历史的拣料类型,不上传ERP

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/TaskType.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/TaskType.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/TaskType.java
index 33337d3..7e850e5 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/TaskType.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/TaskType.java
@@ -28,4 +28,27 @@
         this.type = Integer.parseInt(type);
         this.desc = desc;
     }
+
+    public static String getTypeDesc(Integer type) {
+        if (type == null) {
+            return null;
+        }
+        if (TaskType.TASK_TYPE_IN.type.equals(type)) {
+            return TaskType.TASK_TYPE_IN.desc;
+        } else if (TaskType.TASK_TYPE_EMPITY_IN.type.equals(type)) {
+            return TaskType.TASK_TYPE_EMPITY_IN.desc;
+        } else if (TaskType.TASK_TYPE_OUT.type.equals(type)) {
+            return TaskType.TASK_TYPE_OUT.desc;
+        } else if (TaskType.TASK_TYPE_PICK_IN.type.equals(type)) {
+            return TaskType.TASK_TYPE_PICK_IN.desc;
+        } else if (TaskType.TASK_TYPE_MERGE_IN.type.equals(type)) {
+            return TaskType.TASK_TYPE_MERGE_IN.desc;
+        } else if (TaskType.TASK_TYPE_CHECK_IN.type.equals(type)) {
+            return TaskType.TASK_TYPE_CHECK_IN.desc;
+        }
+
+        return null;
+    }
+
+
 }

--
Gitblit v1.9.1