/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.user.comment.model.Coupon;
import com.yami.shop.user.comment.model.UserLevelCategory;
import com.yami.shop.user.comment.model.UserLevelCoupon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
public interface UserLevelCouponMapper extends BaseMapper<UserLevelCoupon> {


    void insertBatchCoupon(@Param("coupons") Long[] coupons, @Param("id") Long id);

    void delBatchCoupon(@Param("coupons") Long[] coupons, @Param("id") Long id);

    List<Coupon> getCouponListByLevelId(@Param("id")Long id);
}
