| | |
| | | package com.vci.frameworkcore.compatibility; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.common.data.UserEntityInfo; |
| | | import com.vci.frameworkcore.pagemodel.OrgDepartmentVO; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | |
| | | DataGrid refTreeGridDept(TreeQueryObject treeQueryObject); |
| | | |
| | | /** |
| | | * 保存部门角色关联信息,带查重功能 |
| | | * @param userId 用户id |
| | | * @param deptIds 部门oid |
| | | * 保存部门角色关联信息,带查重功能,多对多保存 |
| | | * @param userOIds 用户id |
| | | * @param deptId 部门oid |
| | | * @return |
| | | */ |
| | | boolean saveUserDepts(String userId, List<String> deptIds) throws PLException; |
| | | boolean saveUsersDept(String[] userOIds, String deptId) throws PLException; |
| | | |
| | | /** |
| | | * 根据部门名称组成的树路径,查询部门信息 |
| | | * @param deptTreeNameList 部门名称(上下级部门之间以反斜杠隔开(/)) |
| | | * @return 返回的key为部门名称组成的上下级关系(deptTreeNameList中的每个元素),value为对应的部门信息 |
| | | */ |
| | | //Map<String,String> getDeptByTreeName(/*请传去重后的list*/List<String> deptTreeNameList); |
| | | |
| | | /** |
| | | * 获取所有部门的信息 |
| | | * @return key:部门由名称组成的路径(/间隔),value对应最小层级的部门信息 |
| | | */ |
| | | Map<String,OrgDepartmentVO> getDeptAllTreeMap(); |
| | | |
| | | } |