|
|
@ -16,6 +16,8 @@ import com.epmet.feign.GovOrgOpenFeignClient; |
|
|
|
import com.epmet.feign.OperCustomizeOpenFeignClient; |
|
|
|
import com.epmet.service.VolunteerService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
@ -96,7 +98,7 @@ public class VolunteerServiceImpl implements VolunteerService, ResultDataResolve |
|
|
|
|
|
|
|
// 1.分页查询出所有志愿者列表
|
|
|
|
int pageNo = 1; |
|
|
|
int pageSize = 100; |
|
|
|
int pageSize = 200; |
|
|
|
|
|
|
|
// 志愿者epmet user id
|
|
|
|
List<String> volunteerEpmetUserIds = new ArrayList<>(); |
|
|
@ -142,11 +144,17 @@ public class VolunteerServiceImpl implements VolunteerService, ResultDataResolve |
|
|
|
for (VolunteerDistributionResultDTO.Distribution icResiInfo : icResiInfos) { |
|
|
|
// 将志愿者类型列表字符串,切割放到set中
|
|
|
|
Set<String> volunteerTypes = new HashSet(); |
|
|
|
String[] vTypes = icResiInfo.getVolunteerCategoriesStr().split(","); |
|
|
|
String volunteerCategoriesStr = icResiInfo.getVolunteerCategoriesStr(); |
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(volunteerCategoriesStr)) { |
|
|
|
String[] vTypes = volunteerCategoriesStr.split(","); |
|
|
|
if (vTypes != null && vTypes.length > 0) { |
|
|
|
volunteerTypes.addAll(Arrays.asList(vTypes)); |
|
|
|
} |
|
|
|
icResiInfo.setVolunteerCategories(volunteerTypes); |
|
|
|
} else { |
|
|
|
icResiInfo.setVolunteerCategories(new HashSet<>()); |
|
|
|
} |
|
|
|
|
|
|
|
// 填充建筑坐标
|
|
|
|
String msg = "【志愿者分布】查询楼栋信息失败"; |
|
|
|