| | |
| | | * @return |
| | | * @date 2017年2月12日 下午9:14:34 |
| | | */ |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition); |
| | | |
| | | // List<Map<String, Object>> selectRoles(@Param("condition") String condition); |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition, @Param("objectType") Integer objectType, @Param("objectId") Integer objectId); |
| | | /** |
| | | * 删除某个角色的所有权限 |
| | | * |
| | |
| | | * @return |
| | | * @date 2017年2月18日 上午10:32:04 |
| | | */ |
| | | List<ZTreeNode> roleTreeList(); |
| | | List<ZTreeNode> roleTreeList(@Param("type") Integer type, @Param("id") Integer id); |
| | | |
| | | /** |
| | | * 获取角色列表树 |
| | |
| | | * @return |
| | | * @date 2017年2月18日 上午10:32:04 |
| | | */ |
| | | List<ZTreeNode> roleTreeListByRoleId(String[] roleId); |
| | | List<ZTreeNode> roleTreeListByRoleId(@Param("array") String[] roleId, @Param("type") Integer type, @Param("id") Integer id); |
| | | |
| | | |
| | | } |