Parcourir la source

添加调用dsp日志

tags/v1.0.0^2
wanjing il y a 1 an
Parent
révision
a1734b5580
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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 Voir le fichier

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

Chargement…
Annuler
Enregistrer