多个网格员问题

This commit is contained in:
TS-QD1 2023-11-27 09:30:35 +08:00
parent 4507ffd992
commit 7f6fa62402

View File

@ -246,6 +246,7 @@
<result column="othertext" property="othertext"/> <result column="othertext" property="othertext"/>
</resultMap> </resultMap>
<!-- 取第一条 -->
<select id="getCreatorArea" parameterType="java.lang.String" resultMap="populationInfoAreaDTO"> <select id="getCreatorArea" parameterType="java.lang.String" resultMap="populationInfoAreaDTO">
SELECT SELECT
area_id, area_id,
@ -254,6 +255,9 @@
v_community_boss v_community_boss
WHERE WHERE
community_boss_user_id = #{creator} community_boss_user_id = #{creator}
ORDER BY
community_boss_level DESC
LIMIT 1
</select> </select>
<!-- 新增基础人口信息 --> <!-- 新增基础人口信息 -->