101captain
2022-02-21 5a278a0965b417e7f39e8c209e2ff401f415066a
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml
@@ -533,4 +533,12 @@
        WHERE user_id = #{userId} AND community_id = #{communityId}
    </select>
    <select id="countSocialWorker" resultType="integer">
        select count(id) from com_act_social_worker where telephone = #{phone} and community_id = #{communityId}
    </select>
    <select id="countSocialOrg" resultType="Integer">
        select count(id) from com_act_social_org where user_id = #{userId}
    </select>
</mapper>