执法记录仪视频配置null修复
This commit is contained in:
parent
a9955d50b5
commit
b851bebabc
@ -315,6 +315,9 @@ public class PoliceCameraItemServiceImpl extends ServiceImpl<PoliceCameraItemMap
|
||||
QueryWrapper<PoliceCameraVideoConfig> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.lambda().eq(PoliceCameraVideoConfig::getProjectSn, item.getProjectSn());
|
||||
PoliceCameraVideoConfig config = policeCameraVideoConfigService.getOne(queryWrapper);
|
||||
if (config == null) {
|
||||
throw new OpenAlertException("请先配置ISC服务器");
|
||||
}
|
||||
vo.setConfig(config);
|
||||
//海康ISC
|
||||
String url = HikVideoUtil.callPostApiGetPreviewURL(item.getMonitoringNumber(), MapUtils.getString(map, "type"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user