瀏覽代碼

添加调用dsp日志

tags/v1.0.0^2
wanjing 1 年之前
父節點
當前提交
a1734b5580
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateWaittStatusService.java

+ 3
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateWaittStatusService.java 查看文件

@@ -61,7 +61,8 @@ public class UpdateWaittStatusService {
.eq(Business::getMark, MarkTypeEnum.VALID.getCode())
.orderByDesc(Business::getCreateTime));

if (CollectionUtil.isNotEmpty(businessList)) {
if (CollectionUtil.isEmpty(businessList)) {
log.info("业务数据为空");
inspectionMapper.updateById(inspectionUpdate);
return;
}
@@ -80,7 +81,6 @@ public class UpdateWaittStatusService {
inspectionMapper.updateById(inspectionUpdate);
return;
}

AirWeatherVO weather = (AirWeatherVO) result.getData();
String weatherStr = AirWeatherUtil.getWeather(weather);
inspectionUpdate.setWeather(weatherStr);
@@ -89,6 +89,7 @@ public class UpdateWaittStatusService {
.eq(FlightData::getInspectionId, inspection.getId())
.eq(FlightData::getTenantId, inspection.getTenantId())
.eq(FlightData::getMark, MarkTypeEnum.VALID.getCode()));
log.info("坐标数据,flightDataCount:{}", flightDataCount);
if (flightDataCount > 0) {
int index = (int) Math.ceil((double) flightDataCount / 2);
FlightData flightData = flightDataMapper.selectOne(new LambdaQueryWrapper<FlightData>()

Loading…
取消
儲存