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

package com.yami.shop.user.comment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.user.comment.dao.UserLevelRightsMapper;
import com.yami.shop.user.comment.dao.UserRightsMapper;
import com.yami.shop.user.comment.model.UserLevelRights;
import com.yami.shop.user.comment.model.UserRights;
import com.yami.shop.user.comment.service.UserLevelRightsService;
import com.yami.shop.user.comment.service.UserRightsService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 会员等级
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
@Service
@AllArgsConstructor
@Slf4j
public class UserLevelRightsServiceImpl extends ServiceImpl<UserLevelRightsMapper, UserLevelRights> implements UserLevelRightsService {
    private UserLevelRightsMapper userLevelRightsMapper;


    @Override
    public void insertBatchRights(Long[] rightsList, Long id) {
        userLevelRightsMapper.insertBatchRights(rightsList,id);
    }

    @Override
    public void delBatchRights(Long[] rightsList, Long id) {
        userLevelRightsMapper.delBatchRights(rightsList,id);
    }
}
