/*
 * 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.UserLevelCategory;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

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

    List<Long> getCategoryIdByLevelId(@Param("id") Long id);

    void insertBatch(@Param("categorys") Long[] categorys, @Param("id") Long id);

    void delBatch(@Param("categorys") Long[] categorys, @Param("id") Long id);
}
