From eaf2992f9f885a03b2bf3afcd9d990b2169ba271 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期四, 26 十月 2023 18:12:20 +0800
Subject: [PATCH] feat: 调拨单出库

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

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java
index 6b28d09..140478d 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow_mapper.java
@@ -30,7 +30,7 @@
     // 鏅�氬睘鎬�
     public static final String WarehouseId = "warehouse_id";
     public static final String WarehouseName = "warehouse_name";
-    public static final String LastRecord = "last_record";
+    public static final String ThisType = "this_type";
     public static final String BusinessType = "business_type";
     public static final String BusinessFormId = "business_form_id";
     public static final String OperatorId = "operator_id";
@@ -55,8 +55,8 @@
         if (lWarehouseFlow.isset_warehouseName) {
             this.setWarehouseName(lWarehouseFlow.getWarehouseName());
         }
-        if (lWarehouseFlow.isset_lastRecord) {
-            this.setLastRecord(lWarehouseFlow.getLastRecord());
+        if (lWarehouseFlow.isset_thisType) {
+            this.setThisType(lWarehouseFlow.getThisType());
         }
         if (lWarehouseFlow.isset_businessType) {
             this.setBusinessType(lWarehouseFlow.getBusinessType());
@@ -118,7 +118,7 @@
         ib.set(Id, this.getId());
         ib.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ib.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ib.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
+        ib.set(ThisType, this.getThisType(), this.isset_thisType);
         ib.set(BusinessType, this.getBusinessType(), this.isset_businessType);
         ib.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId);
         ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -135,7 +135,7 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
+        ub.set(ThisType, this.getThisType(), this.isset_thisType);
         ub.set(BusinessType, this.getBusinessType(), this.isset_businessType);
         ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -153,7 +153,7 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
+        ub.set(ThisType, this.getThisType(), this.isset_thisType);
         ub.set(BusinessType, this.getBusinessType(), this.isset_businessType);
         ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -170,7 +170,7 @@
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
         ub.set(WarehouseId, this.getWarehouseId(), this.isset_warehouseId);
         ub.set(WarehouseName, this.getWarehouseName(), this.isset_warehouseName);
-        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
+        ub.set(ThisType, this.getThisType(), this.isset_thisType);
         ub.set(BusinessType, this.getBusinessType(), this.isset_businessType);
         ub.set(BusinessFormId, this.getBusinessFormId(), this.isset_businessFormId);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -223,7 +223,7 @@
      */
     @Override
     public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
-        return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, last_record, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, this_type, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -231,7 +231,7 @@
      */
     @Override
     public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
-        return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, last_record, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, warehouse_id, warehouse_name, this_type, business_type, business_form_id, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -280,12 +280,12 @@
         if (columnIndex > 0) {
             l_warehouse_flow.setWarehouseName(rs.getString(columnIndex));
         }
-        columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.LastRecord);
+        columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.ThisType);
         if (columnIndex > 0) {
             if (rs.getBigDecimal(columnIndex) == null) {
-                l_warehouse_flow.setLastRecord(null);
+                l_warehouse_flow.setThisType(null);
             } else {
-                l_warehouse_flow.setLastRecord(rs.getInt(columnIndex));
+                l_warehouse_flow.setThisType(rs.getInt(columnIndex));
             }
         }
         columnIndex = resultSetUtils.findColumn(rs, LWarehouseFlow_mapper.BusinessType);

--
Gitblit v1.9.1