From 64126dfd00ed90af484fbf7b173e00fcebc4f9fa Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 24 五月 2023 15:56:11 +0800
Subject: [PATCH] 入库通知档和历史档增加mat_type物料类型,组托增加mat_type

---
 src/main/java/com/zy/asrs/entity/Mat.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java
index 0e6d939..fb27489 100644
--- a/src/main/java/com/zy/asrs/entity/Mat.java
+++ b/src/main/java/com/zy/asrs/entity/Mat.java
@@ -337,6 +337,12 @@
     @TableField("inout_everyday")
     private Boolean inoutEveryday;
 
+    /**
+     * 鐗╂枡绫诲瀷{1:鍗曞搧,2:楂橀,3:娣锋斁}
+     */
+    @ApiModelProperty(value= "鐗╂枡绫诲瀷")
+    @TableField("mat_type")
+    private Integer matType;
 
     public Mat() {}
 
@@ -559,4 +565,20 @@
         }
     }
 
+    public String getMatType$() {
+        if (this.matType == null) {
+            return "";
+        }
+        switch (this.matType) {
+            case 1:
+                return "鍗曞搧";
+            case 2:
+                return "楂橀";
+            case 3:
+                return "娣锋斁";
+            default:
+                return "";
+        }
+    }
+
 }

--
Gitblit v1.9.1