From 59f4e18837e40ba0402349e17026feafb786da5f Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期二, 11 五月 2021 15:49:46 +0800
Subject: [PATCH] fix:优化+新增一标三实

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
index c0bcee2..f87e32e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
@@ -190,5 +190,9 @@
     @Select("select user_id,card_photo_front,card_photo_back,family_book from sys_user where id_card=#{idCard}")
     UserElectronicFileVO getSysUserElectronicFile(@Param("idCard") String idCard);
 
+    @Select("select user_id,card_photo_front,card_photo_back,family_book from sys_user where user_id=#{userId}")
+    UserElectronicFileVO getSysUserById(@Param("userId") Long userId);
 
+    @Select("update sys_user set card_photo_front=#{vo.cardPhotoFront},card_photo_back=#{vo.cardPhotoBack},family_book=#{vo.familyBook} where user_id=#{vo.userId}")
+    void updateSysUserElectronicFile(@Param("vo") UserElectronicFileVO vo);
 }

--
Gitblit v1.7.1