|
@ -1444,8 +1444,14 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res |
|
|
if (options == null) { |
|
|
if (options == null) { |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
try { |
|
|
return options.stream().collect(Collectors.toMap(OptionResultDTO::getLabel, OptionResultDTO::getValue)); |
|
|
return options.stream().collect(Collectors.toMap(OptionResultDTO::getLabel, OptionResultDTO::getValue)); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
String erroMsg = ExceptionUtils.getErrorStackTrace(e); |
|
|
|
|
|
log.error("【居民信息导入】转化Options为map失败,url:{}, cascadeItemId:{}, currUserAgencyId:{},错误信息:{}", |
|
|
|
|
|
pureUri, cascadeItemId, currUserAgencyId, erroMsg); |
|
|
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), null, "解析内容失败,请确保所填写内容准确。"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 通用api调用,无法实现
|
|
|
// 通用api调用,无法实现
|
|
|
/*if (!uri.startsWith("/api")) uri = "/api".concat(uri); |
|
|
/*if (!uri.startsWith("/api")) uri = "/api".concat(uri); |
|
|