Administrator
2025-09-16 726de53a23bd9b6b24ccc3ae6c3b1a6b24b67379
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>