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/DepFormScrappedModel.java |  465 +++++++++++++++++++++++++++++++++------------------------
 1 files changed, 266 insertions(+), 199 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedModel.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedModel.java
index d5b38be..38d4545 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedModel.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedModel.java
@@ -6,7 +6,8 @@
 import com.walker.jdbc.BasePo;
 
 /**
- * 琛ㄥ悕:DEP_FORM_SCRAPPED_MODEL *
+ * 琛ㄥ悕:DEP_FORM_SCRAPPED_MODEL
+ *
  * @author genrator
  */
 @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
@@ -20,6 +21,10 @@
     protected boolean isset_id = false;
 
     // 灞炴�у垪琛�
+    private Long depFormScrappedId = null;
+    @JsonIgnore
+    protected boolean isset_depFormScrappedId = false;
+
     private Long depFormScrappedGoodsId = null;
     @JsonIgnore
     protected boolean isset_depFormScrappedGoodsId = false;
@@ -32,45 +37,53 @@
     @JsonIgnore
     protected boolean isset_scrappedName = false;
 
+    private Long baseGoodsTemplateId = null;
+    @JsonIgnore
+    protected boolean isset_baseGoodsTemplateId = false;
+
+    private String baseGoodsTemplateName = null;
+    @JsonIgnore
+    protected boolean isset_baseGoodsTemplateName = false;
+
+    private String classification = null;
+    @JsonIgnore
+    protected boolean isset_classification = false;
+
+    private String unit = null;
+    @JsonIgnore
+    protected boolean isset_unit = false;
+
+    private Long baseGoodsModelsId = null;
+    @JsonIgnore
+    protected boolean isset_baseGoodsModelsId = false;
+
+    private String baseGoodsModelsName = null;
+    @JsonIgnore
+    protected boolean isset_baseGoodsModelsName = false;
+
+    private Long procureModelUserId = null;
+    @JsonIgnore
+    protected boolean isset_procureModelUserId = false;
+
+    private Integer initialCount = null;
+    @JsonIgnore
+    protected boolean isset_initialCount = false;
+
+    private Integer useCount = null;
+    @JsonIgnore
+    protected boolean isset_useCount = false;
+
+    private Integer counts = null;
+    @JsonIgnore
+    protected boolean isset_counts = false;
+
+    private String goodsUserName = null;
+    @JsonIgnore
+    protected boolean isset_goodsUserName = false;
+
     private String beiz = null;
     @JsonIgnore
     protected boolean isset_beiz = false;
-
-    private Long usingGoodsHisId = null;
-    @JsonIgnore
-    protected boolean isset_usingGoodsHisId = false;
-
-    private Long depFormScrappedId = null;
-    @JsonIgnore
-    protected boolean isset_depFormScrappedId = false;
-
-    private Long whGoodsId = null;
-    @JsonIgnore
-    protected boolean isset_whGoodsId = false;
-
-    private Integer scrappedCounts = null;
-    @JsonIgnore
-    protected boolean isset_scrappedCounts = false;
-
-    private Integer initCount = null;
-    @JsonIgnore
-    protected boolean isset_initCount = false;
-
-    private Long depFormLendingModelId = null;
-    @JsonIgnore
-    protected boolean isset_depFormLendingModelId = false;
-
-    private Long depFormLendingGoodsId = null;
-    @JsonIgnore
-    protected boolean isset_depFormLendingGoodsId = false;
-
-    private Long depFormLendingId = null;
-    @JsonIgnore
-    protected boolean isset_depFormLendingId = false;
-
-    private Long warehouseId = null;
-    @JsonIgnore
-    protected boolean isset_warehouseId = false;
 
     /**
      * 榛樿鏋勯�犲嚱鏁�
@@ -105,6 +118,20 @@
     @JsonIgnore
     public boolean isEmptyId() {
         return this.id == null;
+    }
+
+    public Long getDepFormScrappedId() {
+        return this.depFormScrappedId;
+    }
+
+    public void setDepFormScrappedId(Long depFormScrappedId) {
+        this.depFormScrappedId = depFormScrappedId;
+        this.isset_depFormScrappedId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyDepFormScrappedId() {
+        return this.depFormScrappedId == null;
     }
 
     public Long getDepFormScrappedGoodsId() {
@@ -149,6 +176,160 @@
         return this.scrappedName == null || this.scrappedName.length() == 0;
     }
 
+    public Long getBaseGoodsTemplateId() {
+        return this.baseGoodsTemplateId;
+    }
+
+    public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) {
+        this.baseGoodsTemplateId = baseGoodsTemplateId;
+        this.isset_baseGoodsTemplateId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyBaseGoodsTemplateId() {
+        return this.baseGoodsTemplateId == null;
+    }
+
+    public String getBaseGoodsTemplateName() {
+        return this.baseGoodsTemplateName;
+    }
+
+    public void setBaseGoodsTemplateName(String baseGoodsTemplateName) {
+        this.baseGoodsTemplateName = baseGoodsTemplateName;
+        this.isset_baseGoodsTemplateName = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyBaseGoodsTemplateName() {
+        return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0;
+    }
+
+    public String getClassification() {
+        return this.classification;
+    }
+
+    public void setClassification(String classification) {
+        this.classification = classification;
+        this.isset_classification = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyClassification() {
+        return this.classification == null || this.classification.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 Long getBaseGoodsModelsId() {
+        return this.baseGoodsModelsId;
+    }
+
+    public void setBaseGoodsModelsId(Long baseGoodsModelsId) {
+        this.baseGoodsModelsId = baseGoodsModelsId;
+        this.isset_baseGoodsModelsId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyBaseGoodsModelsId() {
+        return this.baseGoodsModelsId == null;
+    }
+
+    public String getBaseGoodsModelsName() {
+        return this.baseGoodsModelsName;
+    }
+
+    public void setBaseGoodsModelsName(String baseGoodsModelsName) {
+        this.baseGoodsModelsName = baseGoodsModelsName;
+        this.isset_baseGoodsModelsName = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyBaseGoodsModelsName() {
+        return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0;
+    }
+
+    public Long getProcureModelUserId() {
+        return this.procureModelUserId;
+    }
+
+    public void setProcureModelUserId(Long procureModelUserId) {
+        this.procureModelUserId = procureModelUserId;
+        this.isset_procureModelUserId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyProcureModelUserId() {
+        return this.procureModelUserId == null;
+    }
+
+    public Integer getInitialCount() {
+        return this.initialCount;
+    }
+
+    public void setInitialCount(Integer initialCount) {
+        this.initialCount = initialCount;
+        this.isset_initialCount = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyInitialCount() {
+        return this.initialCount == null;
+    }
+
+    public Integer getUseCount() {
+        return this.useCount;
+    }
+
+    public void setUseCount(Integer useCount) {
+        this.useCount = useCount;
+        this.isset_useCount = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyUseCount() {
+        return this.useCount == null;
+    }
+
+    public Integer getCounts() {
+        return this.counts;
+    }
+
+    public void setCounts(Integer counts) {
+        this.counts = counts;
+        this.isset_counts = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyCounts() {
+        return this.counts == null;
+    }
+
+    public String getGoodsUserName() {
+        return this.goodsUserName;
+    }
+
+    public void setGoodsUserName(String goodsUserName) {
+        this.goodsUserName = goodsUserName;
+        this.isset_goodsUserName = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyGoodsUserName() {
+        return this.goodsUserName == null || this.goodsUserName.length() == 0;
+    }
+
     public String getBeiz() {
         return this.beiz;
     }
@@ -163,132 +344,6 @@
         return this.beiz == null || this.beiz.length() == 0;
     }
 
-    public Long getUsingGoodsHisId() {
-        return this.usingGoodsHisId;
-    }
-
-    public void setUsingGoodsHisId(Long usingGoodsHisId) {
-        this.usingGoodsHisId = usingGoodsHisId;
-        this.isset_usingGoodsHisId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyUsingGoodsHisId() {
-        return this.usingGoodsHisId == null;
-    }
-
-    public Long getDepFormScrappedId() {
-        return this.depFormScrappedId;
-    }
-
-    public void setDepFormScrappedId(Long depFormScrappedId) {
-        this.depFormScrappedId = depFormScrappedId;
-        this.isset_depFormScrappedId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyDepFormScrappedId() {
-        return this.depFormScrappedId == null;
-    }
-
-    public Long getWhGoodsId() {
-        return this.whGoodsId;
-    }
-
-    public void setWhGoodsId(Long whGoodsId) {
-        this.whGoodsId = whGoodsId;
-        this.isset_whGoodsId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyWhGoodsId() {
-        return this.whGoodsId == null;
-    }
-
-    public Integer getScrappedCounts() {
-        return this.scrappedCounts;
-    }
-
-    public void setScrappedCounts(Integer scrappedCounts) {
-        this.scrappedCounts = scrappedCounts;
-        this.isset_scrappedCounts = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyScrappedCounts() {
-        return this.scrappedCounts == null;
-    }
-
-    public Integer getInitCount() {
-        return this.initCount;
-    }
-
-    public void setInitCount(Integer initCount) {
-        this.initCount = initCount;
-        this.isset_initCount = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyInitCount() {
-        return this.initCount == null;
-    }
-
-    public Long getDepFormLendingModelId() {
-        return this.depFormLendingModelId;
-    }
-
-    public void setDepFormLendingModelId(Long depFormLendingModelId) {
-        this.depFormLendingModelId = depFormLendingModelId;
-        this.isset_depFormLendingModelId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyDepFormLendingModelId() {
-        return this.depFormLendingModelId == null;
-    }
-
-    public Long getDepFormLendingGoodsId() {
-        return this.depFormLendingGoodsId;
-    }
-
-    public void setDepFormLendingGoodsId(Long depFormLendingGoodsId) {
-        this.depFormLendingGoodsId = depFormLendingGoodsId;
-        this.isset_depFormLendingGoodsId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyDepFormLendingGoodsId() {
-        return this.depFormLendingGoodsId == null;
-    }
-
-    public Long getDepFormLendingId() {
-        return this.depFormLendingId;
-    }
-
-    public void setDepFormLendingId(Long depFormLendingId) {
-        this.depFormLendingId = depFormLendingId;
-        this.isset_depFormLendingId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyDepFormLendingId() {
-        return this.depFormLendingId == null;
-    }
-
-    public Long getWarehouseId() {
-        return this.warehouseId;
-    }
-
-    public void setWarehouseId(Long warehouseId) {
-        this.warehouseId = warehouseId;
-        this.isset_warehouseId = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyWarehouseId() {
-        return this.warehouseId == null;
-    }
-
     /**
      * 閲嶅啓 toString() 鏂规硶
      */
@@ -296,19 +351,22 @@
     public String toString() {
         return new StringBuilder()
                 .append("id=").append(this.id)
+                .append("depFormScrappedId=").append(this.depFormScrappedId)
                 .append("depFormScrappedGoodsId=").append(this.depFormScrappedGoodsId)
                 .append("scrappedCode=").append(this.scrappedCode)
                 .append("scrappedName=").append(this.scrappedName)
+                .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
+                .append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName)
+                .append("classification=").append(this.classification)
+                .append("unit=").append(this.unit)
+                .append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
+                .append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
+                .append("procureModelUserId=").append(this.procureModelUserId)
+                .append("initialCount=").append(this.initialCount)
+                .append("useCount=").append(this.useCount)
+                .append("counts=").append(this.counts)
+                .append("goodsUserName=").append(this.goodsUserName)
                 .append("beiz=").append(this.beiz)
-                .append("usingGoodsHisId=").append(this.usingGoodsHisId)
-                .append("depFormScrappedId=").append(this.depFormScrappedId)
-                .append("whGoodsId=").append(this.whGoodsId)
-                .append("scrappedCounts=").append(this.scrappedCounts)
-                .append("initCount=").append(this.initCount)
-                .append("depFormLendingModelId=").append(this.depFormLendingModelId)
-                .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
-                .append("depFormLendingId=").append(this.depFormLendingId)
-                .append("warehouseId=").append(this.warehouseId)
                 .toString();
     }
 
@@ -326,6 +384,9 @@
             dep_form_scrapped_model.setId(this.getId());
         }
         // 鏅�氬睘鎬�
+        if (this.isset_depFormScrappedId) {
+            dep_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId());
+        }
         if (this.isset_depFormScrappedGoodsId) {
             dep_form_scrapped_model.setDepFormScrappedGoodsId(this.getDepFormScrappedGoodsId());
         }
@@ -335,35 +396,41 @@
         if (this.isset_scrappedName) {
             dep_form_scrapped_model.setScrappedName(this.getScrappedName());
         }
+        if (this.isset_baseGoodsTemplateId) {
+            dep_form_scrapped_model.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
+        }
+        if (this.isset_baseGoodsTemplateName) {
+            dep_form_scrapped_model.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName());
+        }
+        if (this.isset_classification) {
+            dep_form_scrapped_model.setClassification(this.getClassification());
+        }
+        if (this.isset_unit) {
+            dep_form_scrapped_model.setUnit(this.getUnit());
+        }
+        if (this.isset_baseGoodsModelsId) {
+            dep_form_scrapped_model.setBaseGoodsModelsId(this.getBaseGoodsModelsId());
+        }
+        if (this.isset_baseGoodsModelsName) {
+            dep_form_scrapped_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
+        }
+        if (this.isset_procureModelUserId) {
+            dep_form_scrapped_model.setProcureModelUserId(this.getProcureModelUserId());
+        }
+        if (this.isset_initialCount) {
+            dep_form_scrapped_model.setInitialCount(this.getInitialCount());
+        }
+        if (this.isset_useCount) {
+            dep_form_scrapped_model.setUseCount(this.getUseCount());
+        }
+        if (this.isset_counts) {
+            dep_form_scrapped_model.setCounts(this.getCounts());
+        }
+        if (this.isset_goodsUserName) {
+            dep_form_scrapped_model.setGoodsUserName(this.getGoodsUserName());
+        }
         if (this.isset_beiz) {
             dep_form_scrapped_model.setBeiz(this.getBeiz());
-        }
-        if (this.isset_usingGoodsHisId) {
-            dep_form_scrapped_model.setUsingGoodsHisId(this.getUsingGoodsHisId());
-        }
-        if (this.isset_depFormScrappedId) {
-            dep_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId());
-        }
-        if (this.isset_whGoodsId) {
-            dep_form_scrapped_model.setWhGoodsId(this.getWhGoodsId());
-        }
-        if (this.isset_scrappedCounts) {
-            dep_form_scrapped_model.setScrappedCounts(this.getScrappedCounts());
-        }
-        if (this.isset_initCount) {
-            dep_form_scrapped_model.setInitCount(this.getInitCount());
-        }
-        if (this.isset_depFormLendingModelId) {
-            dep_form_scrapped_model.setDepFormLendingModelId(this.getDepFormLendingModelId());
-        }
-        if (this.isset_depFormLendingGoodsId) {
-            dep_form_scrapped_model.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId());
-        }
-        if (this.isset_depFormLendingId) {
-            dep_form_scrapped_model.setDepFormLendingId(this.getDepFormLendingId());
-        }
-        if (this.isset_warehouseId) {
-            dep_form_scrapped_model.setWarehouseId(this.getWarehouseId());
         }
         return dep_form_scrapped_model;
     }

--
Gitblit v1.9.1