xiaoyong931011
2023-10-16 05ce81ee4babaa95d44318ebcdc1d7cc6d0f7dfe
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);
}