gao.qiang hai 1 ano
pai
achega
c66ed9a627

+ 2 - 2
business-service/src/main/java/com/ozs/service/impl/BaseCameraManagementServiceImpl.java

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