|
|
|
@@ -258,14 +258,14 @@ |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
|
|
|
|
<update id="updateMsgCountDown" parameterType="list"> |
|
|
|
<update id="updateMsgCountDown"> |
|
|
|
update wx_c_user set msg_count = msg_count-1 |
|
|
|
where msg_count > 0 |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
and `open_id` in |
|
|
|
<foreach collection="openId" index="index" item="openId" open="(" separator="," close=")" > |
|
|
|
<foreach collection="array" item="openId" open="(" separator="," close=")" > |
|
|
|
#{openId} |
|
|
|
</foreach> |
|
|
|
</update> |
|
|
|
|