From 332c012e7336f2996c4fe5c8c110d00713c1bde2 Mon Sep 17 00:00:00 2001
From: haoyahui <2032914783@qq.com>
Date: 星期六, 11 十一月 2023 18:51:33 +0800
Subject: [PATCH] 采购单,采购明细,库存管理,出入库,调拨管理,库存盘点

---
 consum-model-pojo/src/main/java/com/consum/model/po/LWhProcureModel.java |   28 +++-------------------------
 1 files changed, 3 insertions(+), 25 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..91e9641 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
@@ -40,11 +40,7 @@
     @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;
 
@@ -165,25 +161,11 @@
         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;
     }
@@ -247,7 +229,6 @@
                 .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)
@@ -283,9 +264,6 @@
         }
         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