地图摄像头点位不显示
parent
e3b1516b77
commit
8733ad32a5
|
@ -127,8 +127,26 @@ public class PlatformvideomanagementController extends BaseController {
|
|||
PageData pd = new PageData();
|
||||
pd = this.getPageData();
|
||||
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("result", errInfo);
|
||||
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
|
||||
<include refid="Field"></include>
|
||||
<include refid="Field"></include>,PLATFORMVIDEOMANAGEMENT_ID as id
|
||||
from
|
||||
<include refid="tableName"></include> f
|
||||
where 1=1
|
||||
<if test="CORPINFO_ID != null and CORPINFO_ID != ''"><!-- 关键词检索 -->
|
||||
and f.CORPINFO_ID = #{CORPINFO_ID}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 批量删除 -->
|
||||
|
|
Loading…
Reference in New Issue