gongzuming
2024-09-10 9767770dfabddd7ebc57c8d323af566b9655fa3e
src/main/resources/mapper/coupon/CouponRecordMapperCustom.xml
@@ -118,6 +118,11 @@
        <if test="param.couponId != null and param.couponId != ''">
            and t.coupon_id =  #{param.couponId}
        </if>
        <if test="param.category != null and param.category != ''">
            and t.category =  #{param.category}
        </if>
        order by t.create_time desc
    </sql>