瀏覽代碼

1.提交修改会话缺失部分

jzp 2 周之前
父節點
當前提交
e29310ecc9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      fs-service/src/main/resources/mapper/fastGpt/FastGptChatSessionMapper.xml

+ 3 - 0
fs-service/src/main/resources/mapper/fastGpt/FastGptChatSessionMapper.xml

@@ -115,6 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="qwUserId != null">qw_user_id,</if>
             <if test="lastTime != null">last_time,</if>
             <if test="isReply != null">is_reply,</if>
+            <if test="userInfo != null">user_info,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="sessionId != null">#{sessionId},</if>
@@ -137,6 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="qwUserId != null">#{qwUserId},</if>
             <if test="lastTime != null">#{lastTime},</if>
             <if test="isReply != null">#{isReply},</if>
+            <if test="userInfo != null">#{userInfo},</if>
          </trim>
     </insert>
 
@@ -162,6 +164,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="qwUserId != null">qw_user_id = #{qwUserId},</if>
             <if test="lastTime != null">last_time = #{lastTime},</if>
             <if test="isReply != null">is_reply = #{isReply},</if>
+            <if test="userInfo != null">user_info = #{userInfo},</if>
         </trim>
         where session_id = #{sessionId}
     </update>