From 937157f375135579f2c9fef52a1db53a03466857 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 30 四月 2021 14:02:47 +0800
Subject: [PATCH] 党员认证接口完善

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java |    6 ++++++
 1 files changed, 6 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 4d57485..c9d59c6 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
@@ -355,4 +355,10 @@
             " where user_id = #{userArchivesVO.userId}")
     void updateUserArchives(@Param("userArchivesVO") UpdateUserArchivesVO userArchivesVO);
 
+    @Select("update com_pb_member set user_id = #{userId} where audit_result = 1 and id_card = #{idCard}")
+    void updateComPbMemberUserId(@Param("idCard")String idCard, @Param("userId")Long userId);
+
+    @Select("select id from com_pb_member where audit_result = 1 and id_card = #{idCard}")
+    Long getPartyBuildingByIdCard(@Param("idCard")String idCard);
+
 }

--
Gitblit v1.7.1