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); }