|
@@ -126,6 +126,11 @@ public class WxCorpInfoController {
|
|
|
JSONObject info = approvalInfoDetail.getJSONObject("info");
|
|
|
JSONObject applyer = info.getJSONObject("applyer");
|
|
|
String userid = applyer.getString("userid");
|
|
|
+ //过滤审核状态只需要审核通过的数据
|
|
|
+ int sp_status = info.getIntValue("sp_status");
|
|
|
+ if(sp_status!=2){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Optional<User> first = userList.stream().filter(u ->u.getCorpwxRealUserid()!=null&&u.getCorpwxRealUserid().equals(userid)).findFirst();
|
|
|
if(!first.isPresent()){
|
|
|
continue;
|
|
@@ -233,6 +238,11 @@ public class WxCorpInfoController {
|
|
|
JSONObject info = approvalInfoDetail.getJSONObject("info");
|
|
|
JSONObject applyer = info.getJSONObject("applyer");
|
|
|
String userid = applyer.getString("userid");
|
|
|
+ //过滤审核状态只需要审核通过的数据
|
|
|
+ int sp_status = info.getIntValue("sp_status");
|
|
|
+ if(sp_status!=2){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Optional<User> first = userList.stream().filter(u ->u.getCorpwxRealUserid()!=null&&u.getCorpwxRealUserid().equals(userid)).findFirst();
|
|
|
if(!first.isPresent()){
|
|
|
continue;
|