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

import com.ssj.bean.sys.role.domain.AdminRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

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