From 6904763f0e74d9a9fa4dbc39f635d2aee39416c6 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 30 九月 2025 09:34:22 +0800
Subject: [PATCH] 2025.9.30

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/AuthServiceImpl.kt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/AuthServiceImpl.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/AuthServiceImpl.kt
index c4828eb..8303530 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/AuthServiceImpl.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/Impl/AuthServiceImpl.kt
@@ -47,7 +47,7 @@
             bInfo.ciGuid = company.ciGuid
             bInfo.ciName = company.ciName
             baseInfoMapper.updateByPrimaryKeySelective(bInfo)
-        } else {
+        } else if (bInfo == null) {
             val userInfo = userinfoMapper.selectByPrimaryKey(wxUser.uiGuid)
             val baseInfo = BaseInfo().apply {
                 biGuid = wxUser.uiGuid

--
Gitblit v1.9.3