From d2b8972b4f1bb1869a377a15929bdf0413125a1d Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 12 二月 2025 13:05:57 +0800
Subject: [PATCH] 导入时备注是实验料,质量状态设置为实验料,三种出库后都能补传质量指标

---
 src/main/java/com/zy/system/entity/SaasLog.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 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..abf52b8 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) {
@@ -112,6 +121,9 @@
         }
 
     }
+    public String getDocType$(){
+        return "";
+    }
 
 
 }

--
Gitblit v1.9.1