This commit is contained in:
lizhicheng 2022-10-27 17:51:24 +08:00
parent 5ac3e333c2
commit 72947ca394
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class TResourceMountApplyController {
// @RequiresPermissions("resourceMountApply:tresourcemountapply:info")
public Result<TResourceMountApplyDTO> get(@PathVariable("id") Long id) {
TResourceMountApplyDTO data = tResourceMountApplyService.get(id);
if (data.getDeptId() != null) {
if (data != null && data.getDeptId() != null) {
SysDeptDTO sysDeptDTO = sysDeptService.get(Long.valueOf(data.getDeptId()));
if (sysDeptDTO != null) {
ResourceDTO resourceDTO = data.getResourceDTO();