From 7927599f1cd171b8befddacf8a433b0eb9f9afb5 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Sat, 14 Sep 2024 10:40:55 +0800
Subject: [PATCH] update

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
index 038f297..15b4a2d 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
@@ -335,6 +335,9 @@
             }
             // 判断账号是否存在
             CtAccount ctAccount = this.getByAccAndType(gridUserBaseDTO.getAccount(), UserBaseConsts.ACC_TYPE_1);
+            if(ObjectUtils.isEmpty(ctAccount)){
+                ctAccount = this.getByAccAndType(gridUserBaseDTO.getMobile(), UserBaseConsts.ACC_TYPE_1);
+            }
             if (ObjectUtils.isNotEmpty(ctAccount)){
                 //返回结果
                 UserLoginDTO userLoginDTO = new UserLoginDTO();

--
Gitblit v1.8.0