田源
2024-07-02 fd9756db8280007572de40fc5fe8890d12863cbd
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/OrgDeptQueryServiceI.java
@@ -1,6 +1,7 @@
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;
@@ -115,11 +116,24 @@
    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();
}