!155 增加手机验证码登录

Merge pull request !155 from 酱包/feature/1.6.2-smsLogin
This commit is contained in:
芋道源码
2022-05-03 09:12:21 +00:00
committed by Gitee
31 changed files with 1756 additions and 978 deletions

View File

@ -140,6 +140,10 @@ public class QueryWrapperX<T> extends QueryWrapper<T> {
case ORACLE_12C:
super.eq("ROWNUM", 1);
break;
case SQL_SERVER:
case SQL_SERVER2005:
super.select("TOP 1 *"); // 由于 SQL Server 是通过 SELECT TOP 1 实现限制一条,所以只好使用 * 查询剩余字段
break;
default:
super.last("LIMIT 1");
}