Commit d7126361 authored by caotao's avatar caotao

1对远程调用更新es时做异常捕获及处理

parent b5e66c69
......@@ -636,7 +636,11 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
Map<String, Object> map1 = new HashMap<>();
map1.put("USE_ORG_CODE", newUseRegistrationCertificateNumber);
resultMap.put(equipId, map1);
// tzsServiceFeignClient.commonUpdateEsDataByIds(resultMap);
try {
tzsServiceFeignClient.commonUpdateEsDataByIds(resultMap);
}catch (Exception e){
log.error("改造变更登记------------更新es中的编号信息失败,请及时检查ES的状态");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment