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