|
|
@@ -65,8 +65,16 @@ public class UpdateFlightStatusService { |
|
|
|
DspCallbackVo dspCallbackVo = JSON.toJavaObject(jsonObject.getJSONObject("data"), DspCallbackVo.class); |
|
|
|
log.info("dsp响应体:{}", JacksonUtil.obj2StringPretty(dspCallbackVo)); |
|
|
|
|
|
|
|
log.info("修改inspection status 开始"); |
|
|
|
log.info("inspectionUpdate id : {}", inspectionUpdate.getId()); |
|
|
|
log.info("inspectionUpdate status", InspectionStatusEnum.IN_FLIGHT.getCode()); |
|
|
|
inspectionUpdate.setStatus(InspectionStatusEnum.IN_FLIGHT.getCode()); |
|
|
|
inspectionMapper.updateById(inspectionUpdate); |
|
|
|
log.info("修改inspection:{}", inspectionUpdate); |
|
|
|
Integer count = inspectionMapper.updateById(inspectionUpdate); |
|
|
|
if (count <= 0) { |
|
|
|
log.info("修改inspection status 失败"); |
|
|
|
} |
|
|
|
log.info("修改inspection status 结束"); |
|
|
|
|
|
|
|
// 处理通道数据 |
|
|
|
this.liveChannelHandle(inspection, dspCallbackVo); |