xiaoyong931011
2023-09-12 7bae021827bce8b8678c929ffe6e397b0ad9a7a2
src/main/resources/mapper/modules/MallMemberCouponMapper.xml
@@ -36,4 +36,13 @@
        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>