package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.entity.CouponGoods; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import java.util.List; public interface CouponGoodsMapper extends BaseMapper { List selectByGoodId(Long id); List selectByCouponId(Long id); List selectByGoodIdAndCouponId(@Param("goodsId")Long goodsId, @Param("couponId")Long couponId); List selectByGoodIdList(@Param("list")List goodsIdList); }