From e2e8e9de828dc83db2fb254f29e544d6e7ff4d57 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 19 Sep 2023 11:17:17 +0800 Subject: [PATCH] bannner --- src/main/resources/mapper/modules/MallMemberCouponMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberCouponMapper.xml b/src/main/resources/mapper/modules/MallMemberCouponMapper.xml index 487227c..20e28d8 100644 --- a/src/main/resources/mapper/modules/MallMemberCouponMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberCouponMapper.xml @@ -33,6 +33,16 @@ a.* from mall_member_coupon a where a.expire_time <= #{date} + and a.state = 1 + </select> + + <select id="selectListByMemberIdAndGoodsIdAndCouponId" resultType="cc.mrbird.febs.mall.entity.MallMemberCoupon"> + select + a.* + from mall_member_coupon a + where a.member_id = #{memberId} + and a.goods_id = #{goodsId} + and a.coupon_id = #{couponId} </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1