From 7bfa6a85ad6a6c537b0f7ddb9f6a8795c8e8c866 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期四, 09 六月 2022 16:44:24 +0800
Subject: [PATCH] 五社&社区企业&人大代表

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java
index c3601dd..ab4f60e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java
+++ b/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);
 }

--
Gitblit v1.7.1