Procházet zdrojové kódy

添加调用dsp日志

tags/v1.0.0^2
wanjing před 1 rokem
rodič
revize
a1734b5580
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  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 Zobrazit soubor

@@ -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>()

Načítá se…
Zrušit
Uložit