- 在 SysUserController 中为 selectDeptTree 方法添加空值检查 -避免当 deptService.selectDeptById 返回 null 时引发空指针异常 - 提高系统稳定性,防止未处理的空值导致的错误 |
||
|---|---|---|
| .. | ||
| java/com/ruoyi | ||
| resources | ||
| .DS_Store | ||
- 在 SysUserController 中为 selectDeptTree 方法添加空值检查 -避免当 deptService.selectDeptById 返回 null 时引发空指针异常 - 提高系统稳定性,防止未处理的空值导致的错误 |
||
|---|---|---|
| .. | ||
| java/com/ruoyi | ||
| resources | ||
| .DS_Store | ||