|
@@ -373,7 +373,7 @@ public class BaseCameraManagementServiceImpl extends ServiceImpl<BaseCameraManag
|
|
|
baseCameraManagement.setOnline(2);
|
|
|
online++;
|
|
|
} else {
|
|
|
- baseCameraManagement.setOnline(1);
|
|
|
+// baseCameraManagement.setOnline(1);
|
|
|
offline++;
|
|
|
}
|
|
|
}
|
|
@@ -418,7 +418,7 @@ public class BaseCameraManagementServiceImpl extends ServiceImpl<BaseCameraManag
|
|
|
public List<String> videoCaptureUrl(BaseVehicleTerminalDto baseVehicleTerminalDto) {
|
|
|
List<String> urlList = new ArrayList<>();
|
|
|
LambdaQueryWrapper<BaseCameraManagement> camera = new LambdaQueryWrapper<BaseCameraManagement>();
|
|
|
- camera.ge(BaseCameraManagement::getEndMile, baseVehicleTerminalDto.getTravelMile());
|
|
|
+ camera.ge(BaseCameraManagement::getBeginMile, baseVehicleTerminalDto.getTravelMile());
|
|
|
camera.eq(BaseCameraManagement::getLineDir, baseVehicleTerminalDto.getLineDir());
|
|
|
camera.eq(BaseCameraManagement::getRailwayCode, baseVehicleTerminalDto.getRailwayCode());
|
|
|
camera.eq(BaseCameraManagement::getOnline, 2);
|