Commit 89ea7101 by 18356073052

修改更新群发消息结果mapper文件

1 parent 675101a6
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
<update id="updateWeCustomerMessgaeResult"> <update id="updateWeCustomerMessgaeResult">
UPDATE we_customer_messgaeResult UPDATE we_customer_messgaeResult
<set> <set>
<if test="chatId!=null and chatId!=''">
chat_id=#{chatId},
</if>
<if test="externalUserid!=null and externalUserid!=''">
external_userid=#{externalUserid},
</if>
<if test="sendTime!=null and sendTime!=''"> <if test="sendTime!=null and sendTime!=''">
send_time=#{sendTime}, send_time=#{sendTime},
</if> </if>
...@@ -19,6 +13,15 @@ ...@@ -19,6 +13,15 @@
status=#{status} status=#{status}
</if> </if>
</set> </set>
WHERE message_id=#{messageId} <where>
message_id=#{messageId}
<if test="chatId!=null and chatId!=''">
AND chat_id=#{chatId}
</if>
<if test="externalUserid!=null and externalUserid!=''">
AND external_userid=#{externalUserid}
</if>
</where>
</update> </update>
</mapper> </mapper>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!