diff --git a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml index fb281a6b7..4b63d6419 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml @@ -246,15 +246,12 @@ cc.`target_ad`,cc.`business`,cc.`sub_business`,cc.`show_begin_time`,cc.`begin_time`,cc.`end_time`,cc.`status`, cc.`create_date`,cc.`update_date`,cc.`sub_target_id`,cc.qr_code,cc.tt_spu_id from wx_coupon_channel cc - where cc.status = 0 + where cc.`tenant_id` = #{tenantId} and cc.`id` = #{id} - - and cc.`tenant_id` = #{tenantId} - and cc.`parent_tenant_id` = #{parentTenantId}