diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 610d61fd9..890dc68a3 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -1626,8 +1626,8 @@ poi.status poi_status,poi.status_desc from wx_coupon c left join tt_coupon_channel_poi poi on poi.id = c.id - where c.`version` = 1 and tenant_id = #{tenantId} - and coupon_id in + where c.`version` = 1 and c.tenant_id = #{tenantId} + and c.coupon_id in #{idItem}