回滚
This commit is contained in:
@@ -182,9 +182,20 @@ public class EventDetailServiceImpl extends ServiceImpl<EventDetailMapper, RmpEv
|
|||||||
eventAnalysisDTO.setWaveName(rmpEventDetailPO.getWavePath());
|
eventAnalysisDTO.setWaveName(rmpEventDetailPO.getWavePath());
|
||||||
|
|
||||||
EventAnalysisDTO result = eventCauseFeignClient.analysisCauseAndType(eventAnalysisDTO).getData();
|
EventAnalysisDTO result = eventCauseFeignClient.analysisCauseAndType(eventAnalysisDTO).getData();
|
||||||
|
if(Objects.isNull(result.getCause())){
|
||||||
|
reason =reasonReflection(0);
|
||||||
|
|
||||||
|
}else {
|
||||||
reason =reasonReflection(result.getCause());
|
reason =reasonReflection(result.getCause());
|
||||||
|
|
||||||
|
}
|
||||||
|
if(Objects.isNull(result.getCause())){
|
||||||
|
type =advanceTypeReflection(10);
|
||||||
|
|
||||||
|
}else {
|
||||||
type =advanceTypeReflection(result.getType());
|
type =advanceTypeReflection(result.getType());
|
||||||
|
|
||||||
|
}
|
||||||
DictData advancereason = dicDataFeignClient.getDicDataByCode(reason).getData();
|
DictData advancereason = dicDataFeignClient.getDicDataByCode(reason).getData();
|
||||||
DictData advanceType = dicDataFeignClient.getDicDataByCode(type).getData();
|
DictData advanceType = dicDataFeignClient.getDicDataByCode(type).getData();
|
||||||
rmpEventDetailPO.setAdvanceReason(advancereason.getId());
|
rmpEventDetailPO.setAdvanceReason(advancereason.getId());
|
||||||
@@ -330,4 +341,6 @@ public class EventDetailServiceImpl extends ServiceImpl<EventDetailMapper, RmpEv
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user