From eb80b83a3d4a0b59325e90405dc6c687c2904d3a Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期三, 05 一月 2022 14:45:16 +0800
Subject: [PATCH] 商家后台相关代码提交

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPensionAuthRecordServiceImpl.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPensionAuthRecordServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPensionAuthRecordServiceImpl.java
index 916650c..da16b45 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPensionAuthRecordServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPensionAuthRecordServiceImpl.java
@@ -557,15 +557,19 @@
                        comMngPopulationDO.setPhone(comElderAuthRecordVO.getPhone());
                        comMngPopulationDAO.updateById(comMngPopulationDO);
                        comPensionAuthPensionerDO.setAddress(comElderAuthRecordVO.getAddress());
+                       comPensionAuthPensionerDO.setPhone(comElderAuthRecordVO.getPhone());
+                       comPensionAuthPensionerDO.setIdCard(null);
                        comPensionAuthPensionerDAO.updateById(comPensionAuthPensionerDO);
                        ComElderAuthElderliesDO comElderAuthElderliesDO=comElderAuthElderliesDAO.selectOne(new QueryWrapper<ComElderAuthElderliesDO>().lambda().eq(ComElderAuthElderliesDO::getPopulationId,comMngPopulationDO.getId()));
                        if(comElderAuthElderliesDO!=null){
                            comElderAuthElderliesDO.setAddress(comElderAuthRecordVO.getAddress());
+                           comElderAuthElderliesDO.setPhone(comElderAuthRecordVO.getPhone());
+                           comElderAuthElderliesDO.setIdCard(null);
                            comElderAuthElderliesDAO.updateById(comElderAuthElderliesDO);
                        }
                        return R.ok();
                    }
-                   return R.fail("当前期数也认证,请勿重复认证");
+                   return R.fail("当前期数已认证,请勿重复认证");
                 }
                 return R.fail("无养老认证数据");
             }

--
Gitblit v1.7.1