|
@@ -146,11 +146,11 @@ public class CameraServiceImpl extends MPJBaseServiceImpl<ICameraMapper, Camera>
|
|
this.update(wrapper);
|
|
this.update(wrapper);
|
|
|
|
|
|
cameraDetailService.unbind(camera.getId());
|
|
cameraDetailService.unbind(camera.getId());
|
|
- sceneProService.unbind(camera.getId(),null);
|
|
|
|
- scenePlusService.unbind(camera.getId(),null);
|
|
|
|
- if(cameraDetail.getType() == 10){
|
|
|
|
- laserService.toBind(Arrays.asList(camera.getSnCode()),false,null);
|
|
|
|
- }
|
|
|
|
|
|
+// sceneProService.unbind(camera.getId(),null);
|
|
|
|
+// scenePlusService.unbind(camera.getId(),null);
|
|
|
|
+// if(cameraDetail.getType() == 10){
|
|
|
|
+// //laserService.toBind(Arrays.asList(camera.getSnCode()),false,null);
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -174,11 +174,11 @@ public class CameraServiceImpl extends MPJBaseServiceImpl<ICameraMapper, Camera>
|
|
List<Camera> byChildNames = this.getByChildNames(param.getChildNames());
|
|
List<Camera> byChildNames = this.getByChildNames(param.getChildNames());
|
|
List<Long> cameraIds = byChildNames.stream().map(Camera::getId).collect(Collectors.toList());
|
|
List<Long> cameraIds = byChildNames.stream().map(Camera::getId).collect(Collectors.toList());
|
|
cameraDetailService.bind(cameraIds,param.getCompanyId(),user.getId());
|
|
cameraDetailService.bind(cameraIds,param.getCompanyId(),user.getId());
|
|
- for (Long cameraId : cameraIds) {
|
|
|
|
- sceneProService.unbind(cameraId, user.getId());
|
|
|
|
- scenePlusService.unbind(cameraId,user.getId());
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
+// for (Long cameraId : cameraIds) {
|
|
|
|
+// sceneProService.unbind(cameraId, user.getId());
|
|
|
|
+// scenePlusService.unbind(cameraId,user.getId());
|
|
|
|
+//
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|