相邻区域问题修复
parent
83ba32467a
commit
fd28a121da
|
@ -140,7 +140,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>,
|
||||||
ifnull(v.VIDEOCOUNT,0) VIDEOCOUNT
|
ifnull(v.VIDEOCOUNT,0) VIDEOCOUNT,
|
||||||
|
a.AREA_NAME ADJACENT_AREA_NAME
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
LEFT JOIN (SELECT
|
LEFT JOIN (SELECT
|
||||||
|
@ -150,6 +151,7 @@
|
||||||
WHERE
|
WHERE
|
||||||
ISDELETE = '0'
|
ISDELETE = '0'
|
||||||
GROUP BY AREA_GATE_ID ) v on v.AREA_GATE_ID = f.AREA_GATE_ID
|
GROUP BY AREA_GATE_ID ) v on v.AREA_GATE_ID = f.AREA_GATE_ID
|
||||||
|
LEFT JOIN MKMJ_AREA a on a.AREA_ID = f.ADJACENT_AREA_ID
|
||||||
where f.ISDELETE = '0'
|
where f.ISDELETE = '0'
|
||||||
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
||||||
and
|
and
|
||||||
|
|
Loading…
Reference in New Issue