Commit 321e2242 by 杨林龙

优化分批获取省市区的方法

1 parent 3facf4fe
......@@ -162,8 +162,9 @@ public class OrganizationApiService {
if (CollectionUtils.isNotEmpty(orgList)) {
List<Organization> finalOrgList = orgList;
list.forEach(efd -> {
List<Organization> organizations = orgList.stream().filter(index -> index.getUserId().equals(efd.getCreatedBy())).collect(Collectors.toList());
List<Organization> organizations = finalOrgList.stream().filter(index -> index.getUserId().equals(efd.getCreatedBy())).collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(organizations)) {
int size = organizations.size();
if (size < 2) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!