Commit 0e323c7a authored by luzhuang's avatar luzhuang

更新代码

parent 04a199ff
...@@ -78,7 +78,7 @@ public class SysUserServiceImpl implements SysUserService { ...@@ -78,7 +78,7 @@ public class SysUserServiceImpl implements SysUserService {
dto.setType("0"); dto.setType("0");
//step1:调用外部接口 查询出 该部门下所有人(取id) //step1:调用外部接口 查询出 该部门下所有人(取id)
if("0".equals(dto.getType())){ //包含子部门 if("0".equals(dto.getType())){ //包含子部门
if(dto.getDept()!=null){ if(dto.getDept()!=null && !"".equals(dto.getDept()) ){
List<String> deptIds = new ArrayList<>(); List<String> deptIds = new ArrayList<>();
deptIds.add(dto.getDept()); deptIds.add(dto.getDept());
Set<String> deptSets = new HashSet<>(deptIds); Set<String> deptSets = new HashSet<>(deptIds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment