【7.6.0】【hr】更新审批人列表返回,如果为空则为空数组

pull/57/head
fengshuonan 2023-06-29 09:16:27 +08:00
parent eababfda8c
commit f50bc6c39c
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ public class HrOrgApproverServiceImpl extends ServiceImpl<HrOrgApproverMapper, H
}
}
// 如果没设置上审批人列表,返回空数组
if (ObjectUtil.isEmpty(hrOrgApprover.getBindUserItemList())) {
hrOrgApprover.setBindUserItemList(new ArrayList<>());
}
resultList.add(hrOrgApprover);
}