From 6d1fcbe98f3dc8f75ac3f7784152b5a04942a89f Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期二, 31 十月 2023 19:26:29 +0800
Subject: [PATCH] feat: 报废单报废

---
 consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped_mapper.java |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped_mapper.java
index 30a7746..7e5f08c 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped_mapper.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped_mapper.java
@@ -30,9 +30,9 @@
     // 鏅�氬睘鎬�
     public static final String LWarehouseFlowId = "l_warehouse_flow_id";
     public static final String BusinessFormCode = "business_form_code";
+    public static final String WarehouseType = "warehouse_type";
     public static final String WarehouseId = "warehouse_id";
     public static final String WarehouseName = "warehouse_name";
-    public static final String ScrappedType = "scrapped_type";
     public static final String AgencyId = "agency_id";
     public static final String AgencyName = "agency_name";
     public static final String OperatorId = "operator_id";
@@ -61,14 +61,14 @@
         if (lWhFormScrapped.isset_businessFormCode) {
             this.setBusinessFormCode(lWhFormScrapped.getBusinessFormCode());
         }
+        if (lWhFormScrapped.isset_warehouseType) {
+            this.setWarehouseType(lWhFormScrapped.getWarehouseType());
+        }
         if (lWhFormScrapped.isset_warehouseId) {
             this.setWarehouseId(lWhFormScrapped.getWarehouseId());
         }
         if (lWhFormScrapped.isset_warehouseName) {
             this.setWarehouseName(lWhFormScrapped.getWarehouseName());
-        }
-        if (lWhFormScrapped.isset_scrappedType) {
-            this.setScrappedType(lWhFormScrapped.getScrappedType());
         }
         if (lWhFormScrapped.isset_agencyId) {
             this.setAgencyId(lWhFormScrapped.getAgencyId());
@@ -142,9 +142,9 @@
         ib.set(Id, this.getId());
         ib.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
         ib.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
+        ib.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType);
         ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ib.set(ScrappedType, this.getScrappedType(), this.isset_scrappedType);
         ib.set(AgencyId, this.getAgencyId(), this.isset_agencyId);
         ib.set(AgencyName, this.getAgencyName(), this.isset_agencyName);
         ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -165,9 +165,9 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
         ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
+        ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType);
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(ScrappedType, this.getScrappedType(), this.isset_scrappedType);
         ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId);
         ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -189,9 +189,9 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
         ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
+        ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType);
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(ScrappedType, this.getScrappedType(), this.isset_scrappedType);
         ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId);
         ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -212,9 +212,9 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(LWarehouseFlowId, this.getLWarehouseFlowId(), this.isset_lWarehouseFlowId);
         ub.set(BusinessFormCode, this.getBusinessFormCode(), this.isset_businessFormCode);
+        ub.set(WarehouseType, this.getWarehouseType(), this.isset_warehouseType);
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(ScrappedType, this.getScrappedType(), this.isset_scrappedType);
         ub.set(AgencyId, this.getAgencyId(), this.isset_agencyId);
         ub.set(AgencyName, this.getAgencyName(), this.isset_agencyName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -271,7 +271,7 @@
      */
     @Override
     public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
-        return new SqlAndParameters<>("select id, l_warehouse_flow_id, business_form_code, warehouse_id, warehouse_name, scrapped_type, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, upload_files, states from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, l_warehouse_flow_id, business_form_code, warehouse_type, warehouse_id, warehouse_name, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, upload_files, states from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -279,7 +279,7 @@
      */
     @Override
     public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
-        return new SqlAndParameters<>("select id, l_warehouse_flow_id, business_form_code, warehouse_id, warehouse_name, scrapped_type, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, upload_files, states from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, l_warehouse_flow_id, business_form_code, warehouse_type, warehouse_id, warehouse_name, agency_id, agency_name, operator_id, operator_name, deal_time, department_id, department_name, upload_files, states from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -328,6 +328,14 @@
         if (columnIndex > 0) {
             l_wh_form_scrapped.setBusinessFormCode(rs.getString(columnIndex));
         }
+        columnIndex = resultSetUtils.findColumn(rs, LWhFormScrapped_mapper.WarehouseType);
+        if (columnIndex > 0) {
+            if (rs.getBigDecimal(columnIndex) == null) {
+                l_wh_form_scrapped.setWarehouseType(null);
+            } else {
+                l_wh_form_scrapped.setWarehouseType(rs.getInt(columnIndex));
+            }
+        }
         columnIndex = resultSetUtils.findColumn(rs, LWhFormScrapped_mapper.WarehouseId);
         if (columnIndex > 0) {
             if (rs.getBigDecimal(columnIndex) == null) {
@@ -339,14 +347,6 @@
         columnIndex = resultSetUtils.findColumn(rs, LWhFormScrapped_mapper.WarehouseName);
         if (columnIndex > 0) {
             l_wh_form_scrapped.setWarehouseName(rs.getString(columnIndex));
-        }
-        columnIndex = resultSetUtils.findColumn(rs, LWhFormScrapped_mapper.ScrappedType);
-        if (columnIndex > 0) {
-            if (rs.getBigDecimal(columnIndex) == null) {
-                l_wh_form_scrapped.setScrappedType(null);
-            } else {
-                l_wh_form_scrapped.setScrappedType(rs.getInt(columnIndex));
-            }
         }
         columnIndex = resultSetUtils.findColumn(rs, LWhFormScrapped_mapper.AgencyId);
         if (columnIndex > 0) {

--
Gitblit v1.9.1