diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 90a9cd869..a3d02fd51 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -992,6 +992,12 @@ and c.id = #{wxCoupon.id} + + and c.id in + + #{idItem} + + order by ${wxCoupon.sortColumns} order by c.status asc,c.create_date desc