From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期四, 03 四月 2025 15:58:19 +0800
Subject: [PATCH] 问题与漏洞修改

---
 consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java
index 81d4800..8fafcfd 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java
@@ -20,6 +20,10 @@
     protected boolean isset_id = false;
 
     // 灞炴�у垪琛�
+    private Integer warehouseType = null;
+    @JsonIgnore
+    protected boolean isset_warehouseType = false;
+
     private Long baseWarehouseId = null;
     @JsonIgnore
     protected boolean isset_baseWarehouseId = false;
@@ -125,6 +129,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 getBaseWarehouseId() {
@@ -386,6 +404,7 @@
     public String toString() {
         return new StringBuilder()
                 .append("id=").append(this.id)
+                .append("warehouseType=").append(this.warehouseType)
                 .append("baseWarehouseId=").append(this.baseWarehouseId)
                 .append("baseWarehouseName=").append(this.baseWarehouseName)
                 .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
@@ -421,6 +440,9 @@
             wh_warning.setId(this.getId());
         }
         // 鏅�氬睘鎬�
+        if (this.isset_warehouseType) {
+            wh_warning.setWarehouseType(this.getWarehouseType());
+        }
         if (this.isset_baseWarehouseId) {
             wh_warning.setBaseWarehouseId(this.getBaseWarehouseId());
         }

--
Gitblit v1.9.1