src/main/resources/mapper/modules/MallMemberCouponMapper.xml
@@ -4,10 +4,14 @@ <select id="selectListInPage" resultType="cc.mrbird.febs.mall.vo.MallMemberCouponVo"> select a.* a.*, b.cost_amount costAmount, b.real_amount realAmount from mall_member_coupon a left join mall_goods_coupon b on b.id = a.coupon_id <where> a.member_id=#{record.memberId} and a.expire_time >= #{record.expireTime} <if test="record.state != null and record.state != ''"> and a.state=#{record.state} </if>