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/LGoodsUserRecord_mapper.java |   46 ++++++++++++++++++++++------------------------
 1 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord_mapper.java
index c39ab0b..61f751e 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord_mapper.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord_mapper.java
@@ -7,8 +7,6 @@
 import com.walker.jdbc.sqlgen.InsertBuilder;
 import com.walker.jdbc.sqlgen.SelectBuilder;
 import com.walker.jdbc.sqlgen.UpdateBuilder;
-import com.walker.jdbc.util.StringUtils;
-
 import org.springframework.jdbc.core.RowMapper;
 
 import java.sql.ResultSet;
@@ -28,9 +26,9 @@
     // 涓婚敭
     public static final String Id = "id";
     // 鏅�氬睘鎬�
-    public static final String GoodsUserPhone = "goods_user_phone";
+    public static final String WhGoodsId = "wh_goods_id";
     public static final String RecordType = "record_type";
-    public static final String LastRecordId = "last_record_id";
+    public static final String TransBusinessId = "trans_business_id";
     public static final String NowUserPhone = "now_user_phone";
     public static final String NowUserName = "now_user_name";
     public static final String OperatorId = "operator_id";
@@ -49,14 +47,14 @@
             this.setId(lGoodsUserRecord.getId());
         }
         //鏅�氬睘鎬�
-        if (lGoodsUserRecord.isset_goodsUserPhone) {
-            this.setGoodsUserPhone(lGoodsUserRecord.getGoodsUserPhone());
+        if (lGoodsUserRecord.isset_whGoodsId) {
+            this.setWhGoodsId(lGoodsUserRecord.getWhGoodsId());
         }
         if (lGoodsUserRecord.isset_recordType) {
             this.setRecordType(lGoodsUserRecord.getRecordType());
         }
-        if (lGoodsUserRecord.isset_lastRecordId) {
-            this.setLastRecordId(lGoodsUserRecord.getLastRecordId());
+        if (lGoodsUserRecord.isset_transBusinessId) {
+            this.setTransBusinessId(lGoodsUserRecord.getTransBusinessId());
         }
         if (lGoodsUserRecord.isset_nowUserPhone) {
             this.setNowUserPhone(lGoodsUserRecord.getNowUserPhone());
@@ -116,9 +114,9 @@
     public SqlAndParameters<Map<String, Object>> getInsertSql_() {
         InsertBuilder ib = new InsertBuilder(this.getTableName_());
         ib.set(Id, this.getId());
-        ib.set(GoodsUserPhone, this.getGoodsUserPhone(), this.isset_goodsUserPhone);
+        ib.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId);
         ib.set(RecordType, this.getRecordType(), this.isset_recordType);
-        ib.set(LastRecordId, this.getLastRecordId(), this.isset_lastRecordId);
+        ib.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId);
         ib.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ib.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -133,9 +131,9 @@
     @Override
     public SqlAndParameters<Map<String, Object>> getUpdateSql_() {
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
-        ub.set(GoodsUserPhone, this.getGoodsUserPhone(), this.isset_goodsUserPhone);
+        ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId);
         ub.set(RecordType, this.getRecordType(), this.isset_recordType);
-        ub.set(LastRecordId, this.getLastRecordId(), this.isset_lastRecordId);
+        ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -151,9 +149,9 @@
     @Override
     public SqlAndParameters<Map<String, Object>> getUpdateSql_(String where, Map<String, Object> parameters) {
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
-        ub.set(GoodsUserPhone, this.getGoodsUserPhone(), this.isset_goodsUserPhone);
+        ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId);
         ub.set(RecordType, this.getRecordType(), this.isset_recordType);
-        ub.set(LastRecordId, this.getLastRecordId(), this.isset_lastRecordId);
+        ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -168,9 +166,9 @@
     @Override
     public SqlAndParameters<Object[]> getUpdateSql_(String where, Object[] parameters) {
         UpdateBuilder ub = new UpdateBuilder(this.getTableName_());
-        ub.set(GoodsUserPhone, this.getGoodsUserPhone(), this.isset_goodsUserPhone);
+        ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId);
         ub.set(RecordType, this.getRecordType(), this.isset_recordType);
-        ub.set(LastRecordId, this.getLastRecordId(), this.isset_lastRecordId);
+        ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
@@ -223,7 +221,7 @@
      */
     @Override
     public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) {
-        return new SqlAndParameters<>("select id, goods_user_phone, record_type, last_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -231,7 +229,7 @@
      */
     @Override
     public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) {
-        return new SqlAndParameters<>("select id, goods_user_phone, record_type, last_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
+        return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -268,12 +266,12 @@
             l_goods_user_record.setId(rs.getLong(columnIndex));
         }
         //鏅�氬睘鎬�
-        columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.GoodsUserPhone);
+        columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.WhGoodsId);
         if (columnIndex > 0) {
             if (rs.getBigDecimal(columnIndex) == null) {
-                l_goods_user_record.setGoodsUserPhone(null);
+                l_goods_user_record.setWhGoodsId(null);
             } else {
-                l_goods_user_record.setGoodsUserPhone(rs.getLong(columnIndex));
+                l_goods_user_record.setWhGoodsId(rs.getLong(columnIndex));
             }
         }
         columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.RecordType);
@@ -284,12 +282,12 @@
                 l_goods_user_record.setRecordType(rs.getInt(columnIndex));
             }
         }
-        columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.LastRecordId);
+        columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.TransBusinessId);
         if (columnIndex > 0) {
             if (rs.getBigDecimal(columnIndex) == null) {
-                l_goods_user_record.setLastRecordId(null);
+                l_goods_user_record.setTransBusinessId(null);
             } else {
-                l_goods_user_record.setLastRecordId(rs.getLong(columnIndex));
+                l_goods_user_record.setTransBusinessId(rs.getLong(columnIndex));
             }
         }
         columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.NowUserPhone);

--
Gitblit v1.9.1