Administrator
2025-05-21 612ea1fc6e46a9f1997e593295f5d76201a341d5
src/main/resources/mapper/modules/CouponGoodsMapper.xml
@@ -21,4 +21,13 @@
        and coupon_id = #{couponId}
    </select>
    <select id="selectByGoodIdList" resultType="java.lang.Long">
        select a.coupon_id
        from coupon_goods a
        where goods_id IN
        <foreach collection = "list" item = "item"  separator=","  open = "(" close = ")" >
            #{item}
        </foreach >
    </select>
</mapper>