|
|
@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
//import com.hnac.hzims.common.utils.HiKUtil;
|
|
|
|
import com.hnac.hzims.common.utils.HiKUtil; |
|
|
|
import com.hnac.hzims.operational.config.HikPathConfiguration; |
|
|
|
import com.hnac.hzims.operational.config.HikPathConfiguration; |
|
|
|
import com.hnac.hzims.operational.station.StationConstants; |
|
|
|
import com.hnac.hzims.operational.station.StationConstants; |
|
|
|
import com.hnac.hzims.operational.station.dto.StationVideoTypeDTO; |
|
|
|
import com.hnac.hzims.operational.station.dto.StationVideoTypeDTO; |
|
|
@ -213,7 +213,7 @@ public class StationVideoTypeServiceImpl extends BaseServiceImpl<StationVideoTyp |
|
|
|
}}; |
|
|
|
}}; |
|
|
|
Arrays.stream(pointCodes.split(",")).forEach(pointCode -> { |
|
|
|
Arrays.stream(pointCodes.split(",")).forEach(pointCode -> { |
|
|
|
param.put("cameraIndexCode",pointCode); |
|
|
|
param.put("cameraIndexCode",pointCode); |
|
|
|
/*try{ |
|
|
|
try{ |
|
|
|
String data = HiKUtil.send("/api/video/v2/cameras/previewURLs", param, finalHost, finalAppKey, finalAppSecret); |
|
|
|
String data = HiKUtil.send("/api/video/v2/cameras/previewURLs", param, finalHost, finalAppKey, finalAppSecret); |
|
|
|
if(StringUtil.isNotBlank(data)) { |
|
|
|
if(StringUtil.isNotBlank(data)) { |
|
|
|
Map<String, String> url = new HashMap<String, String>() {{ |
|
|
|
Map<String, String> url = new HashMap<String, String>() {{ |
|
|
@ -224,7 +224,7 @@ public class StationVideoTypeServiceImpl extends BaseServiceImpl<StationVideoTyp |
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception e) { |
|
|
|
catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
}*/ |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|