From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期四, 03 四月 2025 15:58:19 +0800
Subject: [PATCH] 问题与漏洞修改

---
 consum-model-pojo/src/main/java/com/consum/model/po/LGoodsUserRecord_mapper.java |   76 +++++++++++++++++++++++++++-----------
 1 files changed, 54 insertions(+), 22 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..df4c34e 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
@@ -28,14 +28,16 @@
     // 涓婚敭
     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 ProcureModelUserRecordId = "procure_model_user_record_id";
     public static final String NowUserPhone = "now_user_phone";
     public static final String NowUserName = "now_user_name";
     public static final String OperatorId = "operator_id";
     public static final String OperatorName = "operator_name";
     public static final String DealTime = "deal_time";
+    public static final String LastRecord = "last_record";
 
     /**
      * 榛樿鏋勯�犲嚱鏁�
@@ -49,14 +51,17 @@
             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_procureModelUserRecordId) {
+            this.setProcureModelUserRecordId(lGoodsUserRecord.getProcureModelUserRecordId());
         }
         if (lGoodsUserRecord.isset_nowUserPhone) {
             this.setNowUserPhone(lGoodsUserRecord.getNowUserPhone());
@@ -72,6 +77,9 @@
         }
         if (lGoodsUserRecord.isset_dealTime) {
             this.setDealTime(lGoodsUserRecord.getDealTime());
+        }
+        if (lGoodsUserRecord.isset_lastRecord) {
+            this.setLastRecord(lGoodsUserRecord.getLastRecord());
         }
         // 鍘绘帀锛�2022-09-07
         // this.setDatabaseName_(l_goods_user_record.getDatabaseName_());
@@ -116,14 +124,16 @@
     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(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId);
         ib.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ib.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
         ib.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
         ib.set(DealTime, this.getDealTime(), this.isset_dealTime);
+        ib.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
         return ib.genMapSql();
     }
 
@@ -133,14 +143,16 @@
     @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(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
         ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
         ub.set(DealTime, this.getDealTime(), this.isset_dealTime);
+        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
         ub.where(this.getPkName_(), this.getPkValue_());
         return ub.genMapSql();
     }
@@ -151,14 +163,16 @@
     @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(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
         ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
         ub.set(DealTime, this.getDealTime(), this.isset_dealTime);
+        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
         return ub.genMapSql(where, parameters);
     }
 
@@ -168,14 +182,16 @@
     @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(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId);
         ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone);
         ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName);
         ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId);
         ub.set(OperatorName, this.getOperatorName(), this.isset_operatorName);
         ub.set(DealTime, this.getDealTime(), this.isset_dealTime);
+        ub.set(LastRecord, this.getLastRecord(), this.isset_lastRecord);
         return ub.genArraySql(where, parameters);
     }
 
@@ -223,7 +239,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, procure_model_user_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -231,7 +247,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, procure_model_user_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters);
     }
 
     /**
@@ -268,12 +284,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 +300,20 @@
                 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.ProcureModelUserRecordId);
+        if (columnIndex > 0) {
+            if (rs.getBigDecimal(columnIndex) == null) {
+                l_goods_user_record.setProcureModelUserRecordId(null);
+            } else {
+                l_goods_user_record.setProcureModelUserRecordId(rs.getLong(columnIndex));
             }
         }
         columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.NowUserPhone);
@@ -324,6 +348,14 @@
                 l_goods_user_record.setDealTime(rs.getLong(columnIndex));
             }
         }
+        columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.LastRecord);
+        if (columnIndex > 0) {
+            if (rs.getBigDecimal(columnIndex) == null) {
+                l_goods_user_record.setLastRecord(null);
+            } else {
+                l_goods_user_record.setLastRecord(rs.getInt(columnIndex));
+            }
+        }
         return l_goods_user_record;
     }
 }

--
Gitblit v1.9.1