From c1f71de612bcfb38e2dde4fe253145c095fae117 Mon Sep 17 00:00:00 2001 From: zhaokai Date: Tue, 30 Dec 2025 14:44:36 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=9C=A8?= =?UTF-8?q?=E5=90=8C=E4=B8=80=E4=BC=81=E4=B8=9A=E5=86=85=E5=94=AF=E4=B8=80?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b38c52c2c29044082dac225e4d4dc941a2231ba2. --- .../info/persistence/repository/impl/UserRepositoryImpl.java | 1 - web-infrastructure/src/main/resources/mapper/UserMapper.xml | 3 --- 2 files changed, 4 deletions(-) diff --git a/web-infrastructure/src/main/java/com/zcloud/basic/info/persistence/repository/impl/UserRepositoryImpl.java b/web-infrastructure/src/main/java/com/zcloud/basic/info/persistence/repository/impl/UserRepositoryImpl.java index d3f0f75e..9eb6f2a5 100644 --- a/web-infrastructure/src/main/java/com/zcloud/basic/info/persistence/repository/impl/UserRepositoryImpl.java +++ b/web-infrastructure/src/main/java/com/zcloud/basic/info/persistence/repository/impl/UserRepositoryImpl.java @@ -201,7 +201,6 @@ public class UserRepositoryImpl extends BaseRepositoryImpl i Map verifyParam = new HashMap<>(); verifyParam.put("phone", params.get("phone")); verifyParam.put("id", params.get("id")); - verifyParam.put("corpinfoId", AuthContext.getTenantId()); Integer count = userMapper.countUser(verifyParam); if (count > 0) { return Response.buildFailure("手机号已经存在,请联系管理员"); diff --git a/web-infrastructure/src/main/resources/mapper/UserMapper.xml b/web-infrastructure/src/main/resources/mapper/UserMapper.xml index 4aa942fb..9e9818ee 100644 --- a/web-infrastructure/src/main/resources/mapper/UserMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/UserMapper.xml @@ -273,9 +273,6 @@ and phone = #{params.phone} - - and corpinfo_id = #{params.corpinfoId} -