|
@ -1054,10 +1054,10 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Result getDeptTypeKey(String deptId) { |
|
|
public Result getDeptTypeKey(Long deptId) { |
|
|
if (StringUtils.isBlank(deptId)) { |
|
|
// if (StringUtils.isBlank(deptId)) {
|
|
|
throw new RenException("部门ID不可为空"); |
|
|
// throw new RenException("部门ID不可为空");
|
|
|
} |
|
|
// }
|
|
|
SysDeptEntity dept = baseDao.selectById(deptId); |
|
|
SysDeptEntity dept = baseDao.selectById(deptId); |
|
|
if (null == dept) { |
|
|
if (null == dept) { |
|
|
throw new RenException("未查到部门相关信息"); |
|
|
throw new RenException("未查到部门相关信息"); |
|
|