101captain
2022-03-14 85cf42314fc04a637f1a44e78c1e476a445bf0f3
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml
@@ -533,4 +533,17 @@
        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>
    <select id="countFmsMember" resultType="integer">
        SELECT COUNT(id) FROM com_fms_team_member
        WHERE phone = #{phone} AND community_id = #{communityId}
    </select>
</mapper>