package com.ssj.dao.sys.role.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.ssj.bean.sys.role.domain.AdminRole;

@Repository
public interface AdminRoleDao extends JpaRepository<AdminRole, String>{
     /**
      * 获取用户的角色信息
      * @param adminId
      * @return
      */
	 List<AdminRole> findByAdminId(String adminId);
}
