puhanshu
2022-07-07 b827b2710c1f9ac64fe8879f08e1008a8647966a
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java
@@ -218,4 +218,57 @@
     * @return
     */
    int countPropertyWorker(@Param("userId") Long userId, @Param("communityId") Long userCommunityId);
    /**
     * 查看是否社工
     * @param phone
     * @param communityId
     * @return
     */
    int countSocialWorker(@Param("phone") String phone, @Param("communityId") Long communityId);
    /**
     * 查看是否社会组织
     * @param userId
     * @return
     */
    Long countSocialOrg(Long userId);
    /**
     * 查看是否是微团队成员
     * @param phone
     * @param userCommunityId
     * @return
     */
    int countFmsMember(@Param("phone") String phone, @Param("communityId") Long userCommunityId);
    /**
     * 查询街道信息
     * @param streetId
     * @return
     */
    ComStreetVO selectStreetById(@Param("streetId") Long streetId);
    /**
     * 查询是否是社会组织成员
     * @param userId
     * @return
     */
    int countSocialOrgMember(@Param("userId") Long userId);
    /**
     * 查询是否社会组织联系人
     * @param phone
     * @return
     */
    int countOrgNum(@Param("phone") String phone);
    /**
     * 查询是否人大代表
     * @param phone
     * @param userCommunityId
     * @return
     */
    int selectCountDpc(@Param("phone") String phone, @Param("userCommunityId") Long userCommunityId);
}