This commit is contained in:
hzj
2025-08-01 15:12:44 +08:00
parent 57a3c3b12c
commit e07f24a743

View File

@@ -182,9 +182,20 @@ public class EventDetailServiceImpl extends ServiceImpl<EventDetailMapper, RmpEv
eventAnalysisDTO.setWaveName(rmpEventDetailPO.getWavePath());
EventAnalysisDTO result = eventCauseFeignClient.analysisCauseAndType(eventAnalysisDTO).getData();
if(Objects.isNull(result.getCause())){
reason =reasonReflection(0);
reason =reasonReflection(result.getCause());
type =advanceTypeReflection(result.getType());
}else {
reason =reasonReflection(result.getCause());
}
if(Objects.isNull(result.getCause())){
type =advanceTypeReflection(10);
}else {
type =advanceTypeReflection(result.getType());
}
DictData advancereason = dicDataFeignClient.getDicDataByCode(reason).getData();
DictData advanceType = dicDataFeignClient.getDicDataByCode(type).getData();
rmpEventDetailPO.setAdvanceReason(advancereason.getId());
@@ -330,4 +341,6 @@ public class EventDetailServiceImpl extends ServiceImpl<EventDetailMapper, RmpEv
}
return result;
}
}