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/LWhGoods.java |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoods.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoods.java
index 391c973..e33e012 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoods.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhGoods.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;
@@ -60,7 +64,7 @@
     @JsonIgnore
     protected boolean isset_unit = false;
 
-    private Double price = null;
+    private Long price = null;
     @JsonIgnore
     protected boolean isset_price = false;
 
@@ -105,6 +109,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() {
@@ -247,11 +265,11 @@
         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;
     }
@@ -296,6 +314,7 @@
     public String toString() {
         return new StringBuilder()
                 .append("id=").append(this.id)
+                .append("warehouseType=").append(this.warehouseType)
                 .append("warehouseId=").append(this.warehouseId)
                 .append("warehouseName=").append(this.warehouseName)
                 .append("costType=").append(this.costType)
@@ -326,6 +345,9 @@
             l_wh_goods.setId(this.getId());
         }
         // 鏅�氬睘鎬�
+        if (this.isset_warehouseType) {
+            l_wh_goods.setWarehouseType(this.getWarehouseType());
+        }
         if (this.isset_warehouseId) {
             l_wh_goods.setWarehouseId(this.getWarehouseId());
         }

--
Gitblit v1.9.1