From 4983186bfdb078aa22ff1ba656f022eef43eec7b Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期三, 25 十月 2023 15:31:18 +0800 Subject: [PATCH] feat: 采购入库 --- consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java | 50 +++----------------------------------------------- 1 files changed, 3 insertions(+), 47 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java index 71ce256..6a62342 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java @@ -36,15 +36,7 @@ @JsonIgnore protected boolean isset_baseGoodsModelsId = false; - private String baseGoodsModelsName = null; - @JsonIgnore - protected boolean isset_baseGoodsModelsName = false; - - private String unit = null; - @JsonIgnore - protected boolean isset_unit = false; - - private Double price = null; + private Long price = null; @JsonIgnore protected boolean isset_price = false; @@ -151,39 +143,11 @@ return this.baseGoodsModelsId == null; } - public String getBaseGoodsModelsName() { - return this.baseGoodsModelsName; - } - - public void setBaseGoodsModelsName(String baseGoodsModelsName) { - this.baseGoodsModelsName = baseGoodsModelsName; - this.isset_baseGoodsModelsName = true; - } - - @JsonIgnore - public boolean isEmptyBaseGoodsModelsName() { - return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0; - } - - public String getUnit() { - return this.unit; - } - - public void setUnit(String unit) { - this.unit = unit; - this.isset_unit = true; - } - - @JsonIgnore - public boolean isEmptyUnit() { - return this.unit == null || this.unit.length() == 0; - } - - public Double getPrice() { + public Long getPrice() { return this.price; } - public void setPrice(Double price) { + public void setPrice(Long price) { this.price = price; this.isset_price = true; } @@ -246,8 +210,6 @@ .append("businessType=").append(this.businessType) .append("businessId=").append(this.businessId) .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) - .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) - .append("unit=").append(this.unit) .append("price=").append(this.price) .append("counts=").append(this.counts) .append("worehouseCount=").append(this.worehouseCount) @@ -280,12 +242,6 @@ } if (this.isset_baseGoodsModelsId) { l_wh_procure_model.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); - } - if (this.isset_baseGoodsModelsName) { - l_wh_procure_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); - } - if (this.isset_unit) { - l_wh_procure_model.setUnit(this.getUnit()); } if (this.isset_price) { l_wh_procure_model.setPrice(this.getPrice()); -- Gitblit v1.9.1