根据人员找职级,判断人员的职级是否为空,不为空则插入数据,为空则跳过去

This commit is contained in:
Mr-wang 2023-11-03 14:02:09 +08:00
parent 4edd2979a6
commit 67dcd110ba

View File

@ -203,7 +203,9 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList
UserModel user = SDK.getORGAPI().getUser(uid);
if (user != null) {
String positionNo = user.getPositionNo();
postList.add(positionNo);
if (UtilString.isNotEmpty(positionNo)){
postList.add(positionNo);
}
}
}
String postStr = postList.stream().collect(Collectors.joining(","));