src/main/resources/mapper/modules/MallMemberCouponMapper.xml | ●●●●● patch | view | raw | blame | history |
src/main/resources/mapper/modules/MallMemberCouponMapper.xml
@@ -11,8 +11,14 @@ 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 != ''"> <if test="record.state == 1"> and a.state=#{record.state} and a.expire_time >= #{record.expireTime} </if> <if test="record.state == 2"> and a.state=#{record.state} </if> <if test="record.state == 3"> and a.state=#{record.state} </if> <if test="record.goodsId != null and record.goodsId != ''">