根据人员找职级,判断人员的职级是否为空,不为空则插入数据,为空则跳过去
This commit is contained in:
parent
4edd2979a6
commit
67dcd110ba
@ -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(","));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user