From 51e8123d8e1c37a719346e5cd112d2480cac52c9 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 04 九月 2021 11:08:09 +0800
Subject: [PATCH] bug修复

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java
index e9719f8..37f987b 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEldersAuthElderlyServiceImpl.java
@@ -153,14 +153,15 @@
         }
         comEldersAuthElderlyDO.setIsExist(eldersAuthElderlyDTO.getIsExist());
         comEldersAuthElderlyDO.setIsBigAge(eldersAuthElderlyDTO.getIsBigAge());
-        if (!ObjectUtils.isEmpty(eldersAuthElderlyDTO.getIdCard())) {
-            try {
-                String idCard = AESUtil.encrypt128(eldersAuthElderlyDTO.getIdCard(), aesKey);
-                comEldersAuthElderlyDO.setIdCard(idCard);
-            } catch (Exception exp) {
-                log.error("身份证转义失败");
-            }
-        }
+        comEldersAuthElderlyDO.setIdCard(eldersAuthElderlyDTO.getIdCard());
+//        if (!ObjectUtils.isEmpty(eldersAuthElderlyDTO.getIdCard())) {
+//            try {
+//                String idCard = AESUtil.encrypt128(eldersAuthElderlyDTO.getIdCard(), aesKey);
+//                comEldersAuthElderlyDO.setIdCard(idCard);
+//            } catch (Exception exp) {
+//                log.error("身份证转义失败");
+//            }
+//        }
         baseMapper.updateEldersAuthElderly(comEldersAuthElderlyDO);
         return R.ok();
     }

--
Gitblit v1.7.1