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 |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 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 502b163..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
@@ -232,7 +232,7 @@
      * @param userId
      * @return
      */
-    int countSocialOrg(Long userId);
+    Long countSocialOrg(Long userId);
 
 
     /**
@@ -242,4 +242,33 @@
      * @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