From b0aabdf5c3337cb25030196e9c9aa635cdea4dca Mon Sep 17 00:00:00 2001 From: jay <75509151@qq.com> Date: Fri, 2 Jun 2023 18:12:36 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E8=8B=A5=E4=BE=9D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cc/iotkit/data/system/ISysUserData.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/iot-common/iot-common-dao/iot-data-service/src/main/java/cc/iotkit/data/system/ISysUserData.java b/iot-common/iot-common-dao/iot-data-service/src/main/java/cc/iotkit/data/system/ISysUserData.java index b6fd27e6..b1525f4c 100644 --- a/iot-common/iot-common-dao/iot-data-service/src/main/java/cc/iotkit/data/system/ISysUserData.java +++ b/iot-common/iot-common-dao/iot-data-service/src/main/java/cc/iotkit/data/system/ISysUserData.java @@ -24,4 +24,16 @@ public interface ISysUserData extends ICommonData { boolean checkPhoneUnique(SysUser to); boolean checkEmailUnique(SysUser to); + + SysUser selectByPhonenumber(String phonenumber); + + SysUser selectTenantUserByPhonenumber(String phonenumber, String tenantId); + + SysUser selectTenantUserByEmail(String email, String tenantId); + + SysUser selectUserByEmail(String email); + + SysUser selectTenantUserByUserName(String username, String tenantId); + + SysUser selectUserByUserName(String username); }