|
|
|
|
@ -173,7 +173,7 @@ public class CameraService {
|
|
|
|
|
|
|
|
|
|
List<Camera> cameras = cameraMapper.selectByMap(new HashMap<>());
|
|
|
|
|
return cameras.stream().filter(camera -> {
|
|
|
|
|
int index = Integer.valueOf(camera.getName().substring(2, 4));
|
|
|
|
|
int index = Integer.parseInt(camera.getName().substring(2, 4));
|
|
|
|
|
boolean b = index >= 1 && index <= 5;
|
|
|
|
|
return b;
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
@ -183,7 +183,7 @@ public class CameraService {
|
|
|
|
|
|
|
|
|
|
List<Camera> cameras = cameraMapper.selectByMap(new HashMap<>());
|
|
|
|
|
return cameras.stream().filter(camera -> {
|
|
|
|
|
int index = Integer.valueOf(camera.getName().substring(2, 4));
|
|
|
|
|
int index = Integer.parseInt(camera.getName().substring(2, 4));
|
|
|
|
|
boolean b = index >= 6 && index <= 10;
|
|
|
|
|
return b;
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
@ -193,7 +193,7 @@ public class CameraService {
|
|
|
|
|
|
|
|
|
|
List<Camera> cameras = cameraMapper.selectByMap(new HashMap<>());
|
|
|
|
|
return cameras.stream().filter(camera -> {
|
|
|
|
|
int index = Integer.valueOf(camera.getName().substring(2, 4));
|
|
|
|
|
int index = Integer.parseInt(camera.getName().substring(2, 4));
|
|
|
|
|
boolean b = index >= 11 && index <= 15;
|
|
|
|
|
return b;
|
|
|
|
|
}).collect(Collectors.toList());
|
|
|
|
|
|