地图摄像头点位不显示
parent
65bebab413
commit
03ac45ffa5
|
@ -127,8 +127,26 @@ public class PlatformvideomanagementController extends BaseController {
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
List<PageData> varList = platformvideomanagementService.listAll(pd); //列出Platformvideomanagement列表
|
List<PageData> varList = platformvideomanagementService.listAll(pd); //列出Platformvideomanagement列表
|
||||||
|
for (PageData data : varList) {
|
||||||
|
data.put("MAP_POINT_NAME", data.getString("NAME"));
|
||||||
|
}
|
||||||
map.put("varList", varList);
|
map.put("varList", varList);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**列表
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
@RequestMapping(value="/getHlsPathById")
|
||||||
|
@ResponseBody
|
||||||
|
public Object getHlsPathById() throws Exception{
|
||||||
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
|
PageData pd =this.getPageData();
|
||||||
|
pd = platformvideomanagementService.findById(pd);
|
||||||
|
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"hls");
|
||||||
|
map.put("pd",pd);
|
||||||
|
map.put("result", "success");
|
||||||
|
return map;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,9 +162,13 @@
|
||||||
<!-- 列表(全部) -->
|
<!-- 列表(全部) -->
|
||||||
<select id="listAll" parameterType="pd" resultType="pd">
|
<select id="listAll" parameterType="pd" resultType="pd">
|
||||||
select
|
select
|
||||||
<include refid="Field"></include>
|
<include refid="Field"></include>,PLATFORMVIDEOMANAGEMENT_ID as id
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
|
where 1=1
|
||||||
|
<if test="CORPINFO_ID != null and CORPINFO_ID != ''"><!-- 关键词检索 -->
|
||||||
|
and f.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 批量删除 -->
|
<!-- 批量删除 -->
|
||||||
|
|
Loading…
Reference in New Issue