From 058770cc7f646ed387757fdde6e45d2f92ea01c4 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 31 五月 2023 10:06:37 +0800 Subject: [PATCH] 2023.5.31上架区域版本兼容代码。判断当前库位组是否均为同一种物料,如不是,则认定需要执行兼容代码 --- src/main/java/com/zy/asrs/entity/WaitPakin.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WaitPakin.java b/src/main/java/com/zy/asrs/entity/WaitPakin.java index 6037263..b737c10 100644 --- a/src/main/java/com/zy/asrs/entity/WaitPakin.java +++ b/src/main/java/com/zy/asrs/entity/WaitPakin.java @@ -155,6 +155,13 @@ @ApiModelProperty(value= "鏄惁鍐荤粨") private Integer frozen; + /** + * 鐗╂枡绫诲瀷{1:鍗曞搧,2:楂橀,3:娣锋斁} + */ + @ApiModelProperty(value= "鐗╂枡绫诲瀷") + @TableField("mat_type") + private Integer matType; + public String getBeBatch$(){ if (null == this.beBatch){ return null; } switch (this.beBatch){ @@ -222,4 +229,20 @@ public void sync(Object source) { Synchro.Copy(source, this); } + + 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