|
|
|
@@ -59,15 +59,22 @@ |
|
|
|
order by createtime desc |
|
|
|
</sql> |
|
|
|
|
|
|
|
<!-- <update id="updateByBaseMsg" parameterType="com.iformall.domain.po.msg.BaseMsg">--> |
|
|
|
<!-- update wx_msg_record set updatetime = now()--> |
|
|
|
<!-- <if test=" null != msgStatus ">,msg_status = #{msgStatus}</if>--> |
|
|
|
<!-- <if test=" null != statusMessage ">,status_message = #{statusMessage}</if>--> |
|
|
|
<!-- where id in(--> |
|
|
|
<!-- select t.id from (--> |
|
|
|
<!-- select id from wx_msg_record where uuid = #{uuid}--> |
|
|
|
<!-- ) t--> |
|
|
|
<!-- )--> |
|
|
|
<!-- </update>--> |
|
|
|
|
|
|
|
<update id="updateByBaseMsg" parameterType="com.iformall.domain.po.msg.BaseMsg"> |
|
|
|
update wx_msg_record set updatetime = now() |
|
|
|
<if test=" null != msgStatus ">,msg_status = #{msgStatus}</if> |
|
|
|
<if test=" null != statusMessage ">,status_message = #{statusMessage}</if> |
|
|
|
where id in( |
|
|
|
select t.id from ( |
|
|
|
select id from wx_msg_record where uuid = #{uuid} |
|
|
|
) t |
|
|
|
) |
|
|
|
where uuid = #{uuid} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="findList" parameterType="com.iformall.domain.po.msg.WxMsgRecord" resultMap="BaseResultMap"> |
|
|
|
|