Commit abdfae12 by qwmqiuwenmin

fix

parent 39c347af
...@@ -624,7 +624,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -624,7 +624,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
} }
JSONArray jsonArr = JSON.parseArray(res); JSONArray jsonArr = JSON.parseArray(res);
List<MemberUnionidRelatedDTO> list = this.getByWxUserIdAndWxEnterpriseId(wxUserId, wxEnterpriseId); List<MemberUnionidRelatedDTO> list = this.getByWxUserIdAndWxEnterpriseId(wxUserId, wxEnterpriseId);
List<String> externalUserIdList = list.stream().map(student->student.getExternalUserid()) List<String> externalUserIdList = list.stream().map(student->student.getSelfExternalUserid())
.collect(Collectors.toList()); .collect(Collectors.toList());
for (Object object : jsonArr) { for (Object object : jsonArr) {
if(externalUserIdList.contains(object.toString())){ if(externalUserIdList.contains(object.toString())){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment