搜索问题处理 视频看不了问题处理
parent
f85199b58c
commit
faed220f73
|
@ -55,7 +55,7 @@ public class PlatformvideomanagementController extends BaseController {
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
PageData pd =this.getPageData();
|
PageData pd =this.getPageData();
|
||||||
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"hls");
|
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"hls");
|
||||||
if(!ObjectUtils.isEmpty(map)){
|
if(ObjectUtils.isEmpty(map)){
|
||||||
map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
}
|
}
|
||||||
map.put("result", "success");
|
map.put("result", "success");
|
||||||
|
@ -71,7 +71,7 @@ public class PlatformvideomanagementController extends BaseController {
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
PageData pd =this.getPageData();
|
PageData pd =this.getPageData();
|
||||||
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"rtsp");
|
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"rtsp");
|
||||||
if(!ObjectUtils.isEmpty(map)){
|
if(ObjectUtils.isEmpty(map)){
|
||||||
map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
}
|
}
|
||||||
map.put("result", "success");
|
map.put("result", "success");
|
||||||
|
@ -87,7 +87,7 @@ public class PlatformvideomanagementController extends BaseController {
|
||||||
Map<String,Object> map = new HashMap<String,Object>();
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
PageData pd =this.getPageData();
|
PageData pd =this.getPageData();
|
||||||
map = HKUtil.cameraSearch(pd);
|
map = HKUtil.cameraSearch(pd);
|
||||||
if(!ObjectUtils.isEmpty(map)){
|
if(ObjectUtils.isEmpty(map)){
|
||||||
map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
}
|
}
|
||||||
map.put("result", "success");
|
map.put("result", "success");
|
||||||
|
|
|
@ -156,6 +156,7 @@
|
||||||
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
||||||
and
|
and
|
||||||
(
|
(
|
||||||
|
f.GATE_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
<!-- 根据需求自己加检索条件
|
<!-- 根据需求自己加检索条件
|
||||||
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
or
|
or
|
||||||
|
|
|
@ -122,6 +122,7 @@
|
||||||
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
||||||
and
|
and
|
||||||
(
|
(
|
||||||
|
f.AREA_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
<!-- 根据需求自己加检索条件
|
<!-- 根据需求自己加检索条件
|
||||||
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
or
|
or
|
||||||
|
|
|
@ -112,7 +112,8 @@
|
||||||
<select id="datalistPage" parameterType="page" resultType="pd">
|
<select id="datalistPage" parameterType="page" resultType="pd">
|
||||||
select
|
select
|
||||||
<include refid="Field"></include>,
|
<include refid="Field"></include>,
|
||||||
r.NAME
|
r.NAME,
|
||||||
|
r.INDEXCODE
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
LEFT JOIN `qa-gwj-regulatory`.bus_platformvideomanagement r on r.PLATFORMVIDEOMANAGEMENT_ID = f.PLATFORMVIDEOMANAGEMENT_ID
|
LEFT JOIN `qa-gwj-regulatory`.bus_platformvideomanagement r on r.PLATFORMVIDEOMANAGEMENT_ID = f.PLATFORMVIDEOMANAGEMENT_ID
|
||||||
|
@ -120,6 +121,7 @@
|
||||||
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
||||||
and
|
and
|
||||||
(
|
(
|
||||||
|
r.NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
<!-- 根据需求自己加检索条件
|
<!-- 根据需求自己加检索条件
|
||||||
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
字段1 LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
or
|
or
|
||||||
|
|
Loading…
Reference in New Issue