相邻区域问题修复

pull/10/head
zhaoyu 2024-01-24 15:43:20 +08:00
parent 83ba32467a
commit fd28a121da
1 changed files with 3 additions and 1 deletions

View File

@ -140,7 +140,8 @@
<select id="datalistPage" parameterType="page" resultType="pd">
select
<include refid="Field"></include>,
ifnull(v.VIDEOCOUNT,0) VIDEOCOUNT
ifnull(v.VIDEOCOUNT,0) VIDEOCOUNT,
a.AREA_NAME ADJACENT_AREA_NAME
from
<include refid="tableName"></include> f
LEFT JOIN (SELECT
@ -150,6 +151,7 @@
WHERE
ISDELETE = '0'
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'
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
and