From af558ec545d055ae8a978c8ad097e51c4c5f5748 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期四, 20 三月 2025 09:58:22 +0800
Subject: [PATCH] Merge remote-tracking branch '喜望/dev-2.0' into dev-2.0

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
index 8c491c3..a830fd1 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
@@ -56,10 +56,10 @@
         if (identity == null && systemUser != null) {
             identityInformationVO.setIdentity(2);
             redisUtils.set("identity:" + loginUserInfo.getPhone(), 2);
-        } else if (identity == null && partyMember != null) {
+        } else if (identity == null && partyMember != null && partyMember.getAuditStatus() == 1) {
             identityInformationVO.setIdentity(1);
             redisUtils.set("identity:" + loginUserInfo.getPhone(), 1);
-        } else if(partyMember == null && systemUser == null && identity != null){
+        } else if((partyMember == null || partyMember.getAuditStatus() !=1) && systemUser == null && identity != null){
             identityInformationVO.setIdentity(null);
             redisUtils.remove("identity:" + loginUserInfo.getPhone());
         } else {

--
Gitblit v1.7.1