package cn.wise.sc.energy.power.plant.business.repository;

import cn.wise.sc.energy.power.plant.business.domain.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description: 阈值更新记录仓储
 * @author: neo.shu
 * @create: 2020-10-16 14:41
 **/
@Repository
public interface RoleRepository extends JpaRepository<Role, Integer>, JpaSpecificationExecutor<Role> {

    List<Role> findAllByRoleIdNotIn(List<Integer> list);
}