From 01107e8aadfaf1e84a971d8eeb9ab37e1c5569f3 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期五, 01 十二月 2023 09:38:56 +0800
Subject: [PATCH] feat: 部门退回/报废公用接口

---
 consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java |   46 ++++++++++++++++++++++++++++++++++------------
 1 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java
index 02d7320..21eee37 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.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;
@@ -28,9 +32,9 @@
     @JsonIgnore
     protected boolean isset_warehouseName = false;
 
-    private Integer lastRecord = null;
+    private Integer thisType = null;
     @JsonIgnore
-    protected boolean isset_lastRecord = false;
+    protected boolean isset_thisType = false;
 
     private Integer businessType = null;
     @JsonIgnore
@@ -87,6 +91,20 @@
         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() {
         return this.warehouseId;
     }
@@ -115,18 +133,18 @@
         return this.warehouseName == null || this.warehouseName.length() == 0;
     }
 
-    public Integer getLastRecord() {
-        return this.lastRecord;
+    public Integer getThisType() {
+        return this.thisType;
     }
 
-    public void setLastRecord(Integer lastRecord) {
-        this.lastRecord = lastRecord;
-        this.isset_lastRecord = true;
+    public void setThisType(Integer thisType) {
+        this.thisType = thisType;
+        this.isset_thisType = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyLastRecord() {
-        return this.lastRecord == null;
+    public boolean isEmptyThisType() {
+        return this.thisType == null;
     }
 
     public Integer getBusinessType() {
@@ -206,9 +224,10 @@
     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("lastRecord=").append(this.lastRecord)
+                .append("thisType=").append(this.thisType)
                 .append("businessType=").append(this.businessType)
                 .append("businessFormId=").append(this.businessFormId)
                 .append("operatorId=").append(this.operatorId)
@@ -231,14 +250,17 @@
             l_warehouse_flow.setId(this.getId());
         }
         // 鏅�氬睘鎬�
+        if (this.isset_warehouseType) {
+            l_warehouse_flow.setWarehouseType(this.getWarehouseType());
+        }
         if (this.isset_warehouseId) {
             l_warehouse_flow.setWarehouseId(this.getWarehouseId());
         }
         if (this.isset_warehouseName) {
             l_warehouse_flow.setWarehouseName(this.getWarehouseName());
         }
-        if (this.isset_lastRecord) {
-            l_warehouse_flow.setLastRecord(this.getLastRecord());
+        if (this.isset_thisType) {
+            l_warehouse_flow.setThisType(this.getThisType());
         }
         if (this.isset_businessType) {
             l_warehouse_flow.setBusinessType(this.getBusinessType());

--
Gitblit v1.9.1