Hentua
2023-11-10 805c8f189f744236d39e26f7776e2ac61ad203b7
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