diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 5ce83afd3..95cebe1be 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -749,6 +749,9 @@ and c.title = concat('%', #{title},'%') + + and c.id = #{id} + order by c.status asc,c.create_date desc @@ -772,6 +775,9 @@ and c.title = concat('%', #{title},'%') + + and c.id = #{id} + order by c.status asc,c.create_date desc @@ -804,6 +810,9 @@ *100,2) as payment_rate from wx_coupon c where c.type = 8 + + and c.id = #{id} + and c.title = concat('%', #{title},'%')