瀏覽代碼

深光查询参数

lyhzzz 1 年之前
父節點
當前提交
ba9c007974
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/manage/httpClient/service/LaserService.java

+ 1 - 1
src/main/java/com/fdkankan/manage/httpClient/service/LaserService.java

@@ -214,7 +214,7 @@ public class LaserService {
     private List<String> setSnCodes(List<CameraDetail> cameraDetails) {
         if(cameraDetails != null && cameraDetails.size() >0){
             Set<Long> cameraIds = cameraDetails.stream()
-                    .filter(entity -> entity.getType() == 10).map(CameraDetail::getCameraId).collect(Collectors.toSet());
+                    .filter(entity -> entity.getType() == 10 || entity.getType() == 11).map(CameraDetail::getCameraId).collect(Collectors.toSet());
             if(cameraIds.size() >0){
                 List<Camera> cameraList = cameraService.listByIds(cameraIds);
                 return cameraList.stream().map(Camera::getSnCode).collect(Collectors.toList());