From 5e8b023fd596572fef3c277d7c36bcb009933c7a Mon Sep 17 00:00:00 2001 From: "jimmy.zeng" Date: Thu, 29 Oct 2020 18:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=9011883=2020021--=E5=8C=97=E7=BE=8E?= =?UTF-8?q?=E9=A2=86=E6=96=99=E9=9C=80=E6=B1=82=E5=8F=98=E6=9B=B4--1023?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/wms/bean/WmsSuspenStockSync.java | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsSuspenStockSync.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsSuspenStockSync.java index 0470492..63b30a6 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsSuspenStockSync.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsSuspenStockSync.java @@ -9,6 +9,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiParam; import lombok.Data; import lombok.EqualsAndHashCode; +import org.apache.commons.lang3.StringUtils; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; @@ -114,4 +115,31 @@ public class WmsSuspenStockSync extends BaseBean { @ApiParam(value = "物料数据Map") private Map partNameMap; + public String getLocateNoVal() { + return this.locateNo == null ? StringUtils.EMPTY : this.locateNo; + } + + public String getPartNoAVal() { + return this.partNoA == null ? StringUtils.EMPTY : this.partNoA; + } + + public String getPartNoBVal() { + return this.partNoB == null ? StringUtils.EMPTY : this.partNoB; + } + + public Double getQtyAVal() { + return this.qtyA == null ? 0 : this.qtyA; + } + + public Double getQtyBVal() { + return this.qtyB == null ? 0 : this.qtyB; + } + + public String getLotNoAVal() { + return this.lotNoA == null ? StringUtils.EMPTY : this.lotNoA; + } + + public String getLotNoBVal() { + return this.lotNoB == null ? StringUtils.EMPTY : this.lotNoB; + } }