人口基本信息- 修改Mapper中的Bug
This commit is contained in:
parent
1080c90a09
commit
cd5cd37685
@ -257,12 +257,12 @@
|
|||||||
t1.community_name AS area2_name
|
t1.community_name AS area2_name
|
||||||
FROM
|
FROM
|
||||||
v_community_boss_community t1
|
v_community_boss_community t1
|
||||||
WHERE
|
|
||||||
t1.community_boss_user_id = #{creator}
|
|
||||||
LEFT JOIN
|
LEFT JOIN
|
||||||
v_community_boss t2
|
v_community_boss t2
|
||||||
ON
|
ON
|
||||||
t1.community_boss_id = t2.community_boss_id
|
t1.community_boss_id = t2.community_boss_id
|
||||||
|
WHERE
|
||||||
|
t1.community_boss_user_id = #{creator}
|
||||||
ORDER BY
|
ORDER BY
|
||||||
t2.community_boss_level DESC
|
t2.community_boss_level DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
@ -271,8 +271,8 @@
|
|||||||
<!-- 取第一条/街道 -->
|
<!-- 取第一条/街道 -->
|
||||||
<select id="getCreatorArea1" parameterType="java.lang.String" resultMap="populationInfoAreaDTO">
|
<select id="getCreatorArea1" parameterType="java.lang.String" resultMap="populationInfoAreaDTO">
|
||||||
SELECT
|
SELECT
|
||||||
area1_id,
|
area_id AS area1_id,
|
||||||
area1_name
|
area_name AS area1_name
|
||||||
FROM
|
FROM
|
||||||
v_community_boss
|
v_community_boss
|
||||||
WHERE
|
WHERE
|
||||||
|
Loading…
Reference in New Issue
Block a user