监控点bug修复

This commit is contained in:
guoshengxiong 2024-09-06 14:32:29 +08:00
parent 041cbad02d
commit 7a6e3ae123

View File

@ -517,7 +517,7 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
String url = "";
EntityMap videoInfo = videoItemMapper.selectVideoInfoByserialNumber(MapUtils.getString(map, "serialNumber"));
if (videoInfo != null && videoInfo.size() > 0) {
if (String.valueOf(STANDER.getCode()).equals(MapUtils.getString(videoInfo, VIDEO_TYPE))) {
if (String.valueOf(ProjectVideoConfigVideoTypeEnum.ISC.getValue()).equals(MapUtils.getString(videoInfo, VIDEO_TYPE))) {
//海康ISC
url = HikVideoUtil.callPostApiGetPreviewURL(MapUtils.getString(map, "serialNumber"), MapUtils.getString(map, "type"),
MapUtils.getInteger(map, "streamType"), MapUtils.getString(videoInfo, "account"),