|
@@ -248,7 +248,7 @@ public class TimingTask {
|
|
|
JSONObject info = approvalInfoDetail.getJSONObject("info");
|
|
|
JSONObject applyer = info.getJSONObject("applyer");
|
|
|
String userid = applyer.getString("userid");
|
|
|
- Optional<User> first = userList.stream().filter(u -> u.getCorpwxUserid().equals(userid)).findFirst();
|
|
|
+ Optional<User> first = userList.stream().filter(u ->u.getCorpwxRealUserid()!=null&& u.getCorpwxRealUserid().equals(userid)).findFirst();
|
|
|
if(!first.isPresent()){
|
|
|
continue;
|
|
|
}
|