| | |
| | | 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> |