@@ -396,7 +396,7 @@
</select>
<select id = "findAreaAdminCount" parameterType="java.lang.String" resultType="java.lang.Integer">
- select count(1) from ( select count(1)
+ select count(distinct(a.number))
from admin a
left join admin_location al on a.id = al.admin_id
where 1 = 1
@@ -427,7 +427,5 @@
#{clist}
</foreach>
</if>
- group by a.id
- ) tem
</mapper>