Browse Source

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
7d0a4802bc
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/flightdata/query/QueryFlightDataTrackService.java

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

log.info("云盒遥测数据,flightData={}",flightData); log.info("云盒遥测数据,flightData={}",flightData);


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

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

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

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



Loading…
Cancel
Save