From a54ebef2950cd0b708ab703bfc551119fa135fec Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 30 五月 2025 09:41:52 +0800
Subject: [PATCH] 补充缺失的代码

---
 pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
index 421f495..7ba5226 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
@@ -26,10 +26,15 @@
   </select>
   <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoBa.BaLog" useGeneratedKeys="true">
     <!--@mbg.generated-->
-    insert into ba_log (user_id,user_name, content, ip,code,msg
+    insert into ba_log (id, user_id,user_name, content, ip,code,msg
       )
-    values (#{userId,jdbcType=BIGINT},#{userName,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR},
-    #{code,jdbcType=VARCHAR},#{msg,jdbcType=VARCHAR}
+    values (#{id,jdbcType=BIGINT},
+    #{userId,jdbcType=BIGINT},
+    #{userName,jdbcType=VARCHAR},
+    #{content,jdbcType=VARCHAR},
+    #{ip,jdbcType=VARCHAR},
+    #{code,jdbcType=VARCHAR},
+    #{msg,jdbcType=VARCHAR}
       )
   </insert>
   <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoBa.BaLog" useGeneratedKeys="true">

--
Gitblit v1.8.0