From 33032d320cb75854def7391026b0401f1bfb8360 Mon Sep 17 00:00:00 2001 From: 黎星凯 <13949086503@163.com> Date: 星期六, 11 五月 2024 17:26:02 +0800 Subject: [PATCH] 20240511修改: 分发单优化, 分类,物品,分发单明细,采购单明细数据导入 --- consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java index e3db5c0..ac447bd 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoodsRecord.java @@ -20,6 +20,10 @@ protected boolean isset_id = false; // 灞炴�у垪琛� + private Integer warehouseType = null; + @JsonIgnore + protected boolean isset_warehouseType = false; + private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; @@ -64,6 +68,10 @@ @JsonIgnore protected boolean isset_dealTime = false; + private Long totalPrice = null; + @JsonIgnore + protected boolean isset_totalPrice = false; + /** * 榛樿鏋勯�犲嚱鏁� */ @@ -97,6 +105,20 @@ @JsonIgnore public boolean isEmptyId() { return this.id == null; + } + + public Integer getWarehouseType() { + return this.warehouseType; + } + + public void setWarehouseType(Integer warehouseType) { + this.warehouseType = warehouseType; + this.isset_warehouseType = true; + } + + @JsonIgnore + public boolean isEmptyWarehouseType() { + return this.warehouseType == null; } public Long getWarehouseId() { @@ -253,6 +275,20 @@ return this.dealTime == null; } + public Long getTotalPrice() { + return this.totalPrice; + } + + public void setTotalPrice(Long totalPrice) { + this.totalPrice = totalPrice; + this.isset_totalPrice = true; + } + + @JsonIgnore + public boolean isEmptyTotalPrice() { + return this.totalPrice == null; + } + /** * 閲嶅啓 toString() 鏂规硶 */ @@ -260,6 +296,7 @@ public String toString() { return new StringBuilder() .append("id=").append(this.id) + .append("warehouseType=").append(this.warehouseType) .append("warehouseId=").append(this.warehouseId) .append("warehouseFlowId=").append(this.warehouseFlowId) .append("initialCount=").append(this.initialCount) @@ -271,6 +308,7 @@ .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) .append("dealTime=").append(this.dealTime) + .append("totalPrice=").append(this.totalPrice) .toString(); } @@ -288,6 +326,9 @@ l_wh_goods_record.setId(this.getId()); } // 鏅�氬睘鎬� + if (this.isset_warehouseType) { + l_wh_goods_record.setWarehouseType(this.getWarehouseType()); + } if (this.isset_warehouseId) { l_wh_goods_record.setWarehouseId(this.getWarehouseId()); } @@ -321,6 +362,9 @@ if (this.isset_dealTime) { l_wh_goods_record.setDealTime(this.getDealTime()); } + if (this.isset_totalPrice) { + l_wh_goods_record.setTotalPrice(this.getTotalPrice()); + } return l_wh_goods_record; } } -- Gitblit v1.9.1