|
@@ -141,6 +141,23 @@ public class TestController extends BaseController {
|
|
|
return Result.success( );
|
|
|
}
|
|
|
|
|
|
+ @Autowired
|
|
|
+ ICameraDetailService cameraDetailService;
|
|
|
+ @Autowired
|
|
|
+ IIncrementTypeService incrementTypeService;
|
|
|
+
|
|
|
+ @GetMapping("/checkSsCamera")
|
|
|
+ public Result checkSsCamera() throws Exception {
|
|
|
+ LambdaQueryWrapper<CameraDetail> wrapper = new LambdaQueryWrapper<>();
|
|
|
+ wrapper.in(CameraDetail::getType,Arrays.asList(10,11));
|
|
|
+ List<CameraDetail> list = cameraDetailService.list(wrapper);
|
|
|
+ for (CameraDetail cameraDetail : list) {
|
|
|
+ Long cameraId = cameraDetail.getCameraId();
|
|
|
+ sceneProService.lockOrUnLockBySpace(cameraId);
|
|
|
+ }
|
|
|
+ return Result.success();
|
|
|
+ }
|
|
|
+
|
|
|
public static void main(String[] args) {
|
|
|
System.out.println(SecurityUtil.MD5(" \u0011\u0007"));
|
|
|
}
|