Explorar el Código

添加调用dsp日志

tags/v1.0.0^2
wanjing hace 1 año
padre
commit
a1734b5580
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar