| 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<CouponGoods> { | 
|   | 
|     List<Long> selectByGoodId(Long id); | 
|   | 
|     List<Long> selectByCouponId(Long id); | 
|   | 
|     List<CouponGoods> selectByGoodIdAndCouponId(@Param("goodsId")Long goodsId, @Param("couponId")Long couponId); | 
|   | 
|     List<Long> selectByGoodIdList(@Param("list")List<Long> goodsIdList); | 
| } |