Sfoglia il codice sorgente

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.2.0^2
chengwang 1 anno fa
parent
commit
688e6371af
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/flightdata/query/QueryFlightDataTrackService.java

+ 7
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/flightdata/query/QueryFlightDataTrackService.java Vedi File

@@ -54,9 +54,16 @@ public class QueryFlightDataTrackService {
log.info("云盒遥测数据,flightData={}",flightData);

//将最新一条数据放入缓存,并设置过期时间

log.info("云盒遥测数据11111------------");

redisUtils.set(String.valueOf(inspection.getId()), flightData, 10);
log.info("云盒遥测数据22222------------");

int result = flightDataMapper.insert(flightData);
log.info("云盒遥测数据22222------------result={}", result);
if(result<=0){
log.info("遥测数据保存失败33333");
return JsonResult.error("遥测数据保存失败");
}


Loading…
Annulla
Salva