fix
Hentua
2024-01-24 47be88a9b16c2c58b480b29d8b8c583731c79d60
src/main/resources/mapper/modules/MallMemberCouponMapper.xml
@@ -32,6 +32,7 @@
        select
        a.*,
        b.cost_amount costAmount,
        b.type type,
        b.real_amount realAmount
        from mall_member_coupon a
        INNER join mall_goods_coupon b on b.id = a.coupon_id and b.state = 2
@@ -40,7 +41,7 @@
                and a.state=#{record.state}
                and a.expire_time >= #{record.expireTime}
        and a.coupon_id in
        <foreach collection = "record.couponIds" item = "item"  separator=","  open = "(" close = ")" >
        <foreach collection = "list" item = "item"  separator=","  open = "(" close = ")" >
            #{item}
        </foreach >
        order by a.CREATED_TIME desc