xiaoyong931011
2023-10-11 5c656bf6da9673b88d8dfefb5b3b459d29946472
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
}