KKSU
2025-03-18 664184af3e070dee665ee736caffa0297804975f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}