From 288006d7923ba19f516f539550ca3ca564e21d06 Mon Sep 17 00:00:00 2001 From: liushaowen <565850092@qq.com> Date: Fri, 30 Oct 2020 09:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E5=BE=AE=E4=BF=A1=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E7=9A=84sql=E4=B8=AD=E5=8F=96=E6=B6=88=E4=B8=8E?= =?UTF-8?q?=E8=AE=A2=E9=98=85=E7=8A=B6=E6=80=81=E7=9A=84=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxmpResiUserSubscribeDao.xml | 5 +---- .../src/main/resources/mapper/WxmpWorkUserSubscribeDao.xml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpResiUserSubscribeDao.xml b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpResiUserSubscribeDao.xml index fa3c599a83..5beddb80f8 100644 --- a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpResiUserSubscribeDao.xml +++ b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpResiUserSubscribeDao.xml @@ -13,7 +13,6 @@ and template_id = #{templateId} and wx_open_id = #{openId} and user_id = #{userId} - and wx_subscribe_status = 'subscribe' @@ -25,13 +24,11 @@ and template_id = #{templateId} and wx_open_id = #{openId} and user_id = #{userId} - and wx_subscribe_status = 'subscribe' update Wxmp_Resi_User_Subscribe - set count = 0, - wx_subscribe_status = 'unsubscribe' + set count = 0 where del_flag = 0 and customer_id = #{customerId} diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpWorkUserSubscribeDao.xml b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpWorkUserSubscribeDao.xml index 5d82cbf369..d4b4026d1d 100644 --- a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpWorkUserSubscribeDao.xml +++ b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/WxmpWorkUserSubscribeDao.xml @@ -22,7 +22,6 @@ and template_id = #{templateId} and wx_open_id = #{openId} and user_id = #{userId} - and wx_subscribe_status = 'subscribe' @@ -34,12 +33,10 @@ and template_id = #{templateId} and wx_open_id = #{openId} and user_id = #{userId} - and wx_subscribe_status = 'subscribe' update Wxmp_Work_User_Subscribe - set count = 0, - wx_subscribe_status = 'unsubscribe' + set count = 0 where del_flag =0 and customer_id = #{customerId}