xiaoyong931011
2023-09-27 ea33d20cf8f59acde652f66cbaa7e05fa1bc2be3
src/main/resources/mapper/modules/MallMemberCouponMapper.xml
@@ -36,4 +36,14 @@
        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}
        and a.state = 1
    </select>
</mapper>