Hentua
2023-11-28 2bd6bd4cc8639794b91d0de0a6159c97ff365f86
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