监控点bug修复
This commit is contained in:
parent
041cbad02d
commit
7a6e3ae123
@ -517,7 +517,7 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
|
|||||||
String url = "";
|
String url = "";
|
||||||
EntityMap videoInfo = videoItemMapper.selectVideoInfoByserialNumber(MapUtils.getString(map, "serialNumber"));
|
EntityMap videoInfo = videoItemMapper.selectVideoInfoByserialNumber(MapUtils.getString(map, "serialNumber"));
|
||||||
if (videoInfo != null && videoInfo.size() > 0) {
|
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
|
//海康ISC
|
||||||
url = HikVideoUtil.callPostApiGetPreviewURL(MapUtils.getString(map, "serialNumber"), MapUtils.getString(map, "type"),
|
url = HikVideoUtil.callPostApiGetPreviewURL(MapUtils.getString(map, "serialNumber"), MapUtils.getString(map, "type"),
|
||||||
MapUtils.getInteger(map, "streamType"), MapUtils.getString(videoInfo, "account"),
|
MapUtils.getInteger(map, "streamType"), MapUtils.getString(videoInfo, "account"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user