xiaoyong931011
2023-10-11 5c656bf6da9673b88d8dfefb5b3b459d29946472
src/main/resources/mapper/modules/CouponGoodsMapper.xml
@@ -8,6 +8,12 @@
        where goods_id = #{id}
    </select>
    <select id="selectByCouponId" resultType="java.lang.Long">
        select a.goods_id
        from coupon_goods a
        where coupon_id = #{id}
    </select>
    <select id="selectByGoodIdAndCouponId" resultType="cc.mrbird.febs.mall.entity.CouponGoods">
        select a.*
        from coupon_goods a