From e11b4a603df5796492b63d53c72b5bf63eb4014c Mon Sep 17 00:00:00 2001 From: zhengfangyuan Date: Sun, 1 Jan 2023 12:59:50 +0800 Subject: [PATCH] fix bug --- mallinkService/src/main/resources/mapper/WxCouponMapper.xml | 6 ++++++ 1 file changed, 6 insertions(+) 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