|
|
@ -153,7 +153,10 @@ public class LingShanPartyOrgServiceImpl implements LingShanPartyOrgService, Res |
|
|
|
if (rsts == null) { |
|
|
|
logger.error("【灵山大屏-党建相关对象列表查询】出错,"); |
|
|
|
} |
|
|
|
return ConvertUtils.sourceToTarget(rsts, LingShanScreenPartyObjectByTypeRstDTO.class); |
|
|
|
|
|
|
|
return rsts.stream() |
|
|
|
.map(e -> new LingShanScreenPartyObjectByTypeRstDTO(e.getOrgId(), e.getOrgName(), e.getLongitude(), e.getLatitude(), 0)) |
|
|
|
.collect(Collectors.toList()); |
|
|
|
} else { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), null, "未知的数据类型"); |
|
|
|
} |
|
|
|