【7.2.5】【org】更新绑定问题

pull/37/head
fengshuonan 2022-09-15 23:37:37 +08:00
parent 99fc5bdbea
commit 5280da1d1e
1 changed files with 4 additions and 2 deletions

View File

@ -141,8 +141,10 @@ public class HrOrgApproverServiceImpl extends ServiceImpl<HrOrgApproverMapper, H
for (HrOrgApprover hrOrgApprover : resultList) {
// 获取改类型下有没有人
List<HrOrgApprover> userList = groupingByUsers.get(hrOrgApprover.getOrgApproverType());
List<BindUserItem> bindUserItems = this.convertUserItem(userList);
hrOrgApprover.setBindUserItemList(bindUserItems);
if (ObjectUtil.isNotEmpty(userList)) {
List<BindUserItem> bindUserItems = this.convertUserItem(userList);
hrOrgApprover.setBindUserItemList(bindUserItems);
}
}
return resultList;