From d9aab59e3d4c8688eaf00c0d98f6926a218ff57f Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 28 四月 2025 15:28:11 +0800
Subject: [PATCH] 拣货单出库完成,但是库存没减,日志埋点

---
 src/main/java/com/zy/system/entity/SaasLog.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/system/entity/SaasLog.java b/src/main/java/com/zy/system/entity/SaasLog.java
index aa44f07..7363efb 100644
--- a/src/main/java/com/zy/system/entity/SaasLog.java
+++ b/src/main/java/com/zy/system/entity/SaasLog.java
@@ -71,6 +71,12 @@
      */
     private String workshop;
 
+    /**
+     * 鍗曟嵁绫诲瀷
+     */
+    @TableField("doc_type")
+    private Long docType;
+
     public SaasLog() {}
 
     public SaasLog(Long id,Integer type,String locNo,String matnr,Date ioTime,Long createBy) {
@@ -99,6 +105,9 @@
     }
 
     public String getType$(){
+        if (this.type == null) {
+            return "";
+        }
         if (this.type ==0) {
             return "鍏ュ簱";
            } else if (this.type == 1) {
@@ -107,11 +116,16 @@
             return "搴撲綅绉昏浆";
         } else if (this.type == 3) {
             return "搴撳瓨璋冩暣";
-        }else {
+        }else if (this.type == 4) {
+            return "閫�璐�";
+        } else {
             return "";
         }
 
     }
+    public String getDocType$(){
+        return "";
+    }
 
 
 }

--
Gitblit v1.9.1