mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: exists 别名单侧修改
This commit is contained in:
parent
5afd03c948
commit
a35ca5cd62
@ -400,7 +400,7 @@ public class AccountSqlTester {
|
||||
|
||||
Assert.assertEquals("SELECT * FROM `tb_account` " +
|
||||
"WHERE `id` >= 100 " +
|
||||
"AND EXISTS (SELECT 1 AS `temp_one` FROM `tb_article` AS `a` WHERE `id` >= 100)"
|
||||
"AND EXISTS (SELECT 1 AS `temp_one` FROM `tb_article` AS `a` WHERE `a`.`id` >= 100)"
|
||||
, query.toSQL());
|
||||
|
||||
System.out.println(query.toSQL());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user