|
|
@ -258,7 +258,7 @@ public class IcDangerousChemicalsServiceImpl extends BaseServiceImpl<IcDangerous |
|
|
|
String staffAgencyPath=PidUtils.convertPid2OrgIdPath(staffInfo.getAgencyId(),staffAgencyInfo.getPids()); |
|
|
|
//危化品种类字典
|
|
|
|
Result<Map<String, String>> statusRes = adminOpenFeignClient.dictMap(DictTypeEnum.IC_DANGER_TYPE.getCode()); |
|
|
|
if (!statusRes.success() || MapUtils.isNotEmpty(statusRes.getData())) { |
|
|
|
if (!statusRes.success() || MapUtils.isEmpty(statusRes.getData())) { |
|
|
|
throw new EpmetException("获取IC_DANGER_TYPE字典表失败"); |
|
|
|
} |
|
|
|
Map<String, String> dangerTypeMap = statusRes.getData(); |
|
|
@ -326,7 +326,7 @@ public class IcDangerousChemicalsServiceImpl extends BaseServiceImpl<IcDangerous |
|
|
|
importFinishTaskForm.setTaskId(importTaskId); |
|
|
|
importFinishTaskForm.setProcessStatus(ImportTaskConstants.PROCESS_STATUS_FINISHED_FAIL); |
|
|
|
importFinishTaskForm.setOperatorId(tokenDto.getUserId()); |
|
|
|
importFinishTaskForm.setResultDesc("导入失败"); |
|
|
|
importFinishTaskForm.setResultDesc("导入失败"+errorMsg); |
|
|
|
|
|
|
|
Result result = commonServiceOpenFeignClient.finishImportTask(importFinishTaskForm); |
|
|
|
if (!result.success()) { |
|
|
|