|
|
@@ -70,6 +70,8 @@ public class NewLampPoleController2 {
|
|
|
private LightStripDevService lightStripDevService;
|
|
|
@Autowired
|
|
|
private OnlineLogService onlineLogService;
|
|
|
+ @Autowired
|
|
|
+ private VideoEventInfoLogService videoEventInfoLogService;
|
|
|
|
|
|
/**
|
|
|
* 智诺云智慧灯杆列表
|
|
|
@@ -857,4 +859,20 @@ public class NewLampPoleController2 {
|
|
|
}
|
|
|
return toolUtils.response(InterfaceResultEnum.OPERATION_SUCCESS,version,operationDataVO);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 智诺云场景识别(智慧城管)
|
|
|
+ * @param request 灯杆id
|
|
|
+ * @return 场景识别
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/videoEventInfo", method = RequestMethod.POST)
|
|
|
+ public BaseResult<?> videoEventInfo(HttpServletRequest request) {
|
|
|
+ Integer version = (Integer) toolUtils.getRequestContent(request, "version", 1);
|
|
|
+ Integer lampPoleId = (Integer) toolUtils.getRequestContent(request, "lampPoleId", 1);
|
|
|
+ if (lampPoleId == 0) return toolUtils.response(InterfaceResultEnum.LACK_PARAM_ERROR,version);
|
|
|
+ List<VideoEventInfoLogDTO> list = videoEventInfoLogService.getVideoEventListByLampPoleId(lampPoleId);
|
|
|
+ VideoEventInfoLogVO videoEventInfoLogVO = new VideoEventInfoLogVO();
|
|
|
+ videoEventInfoLogVO.setList(list);
|
|
|
+ return toolUtils.response(InterfaceResultEnum.OPERATION_SUCCESS,version,videoEventInfoLogVO);
|
|
|
+ }
|
|
|
}
|