人口基本信息- 修改Mapper中的Bug

This commit is contained in:
java_cuibaocheng@163.com 2023-11-30 18:09:38 +08:00
parent 1080c90a09
commit cd5cd37685

View File

@ -257,12 +257,12 @@
t1.community_name AS area2_name
FROM
v_community_boss_community t1
WHERE
t1.community_boss_user_id = #{creator}
LEFT JOIN
v_community_boss t2
ON
t1.community_boss_id = t2.community_boss_id
WHERE
t1.community_boss_user_id = #{creator}
ORDER BY
t2.community_boss_level DESC
LIMIT 1
@ -271,8 +271,8 @@
<!-- 取第一条/街道 -->
<select id="getCreatorArea1" parameterType="java.lang.String" resultMap="populationInfoAreaDTO">
SELECT
area1_id,
area1_name
area_id AS area1_id,
area_name AS area1_name
FROM
v_community_boss
WHERE