diff --git a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml index f267fb0..d9aa1e7 100644 --- a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml +++ b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml @@ -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 @@