@@ -42,7 +42,11 @@ public class SyncAirDataService { | |||
log.info("校验失败:{}", jsonResult.getMsg()); | |||
return jsonResult; | |||
} | |||
//更新 | |||
Inspection inspection = (Inspection) jsonResult.getData(); | |||
inspection.setEquipmentMountCode(response.getSerial()); | |||
inspectionMapper.updateById(inspection); | |||
AirData airData = new AirData(); | |||
airData.setInspectionId(inspection.getId()); // 任务ID |