mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
我的部门空数据的时候报错
This commit is contained in:
@ -288,6 +288,9 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart
|
||||
public List<String> getMySubDepIdsByDepId(String departIds) {
|
||||
//根据部门id获取所负责部门
|
||||
String[] codeArr = this.getMyDeptParentOrgCode(departIds);
|
||||
if(codeArr==null || codeArr.length==0){
|
||||
return null;
|
||||
}
|
||||
return this.baseMapper.getSubDepIdsByOrgCodes(codeArr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user