mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fixed: 修复 SelectQueryColumn 作为条件列空值问题,关闭 https://gitee.com/mybatis-flex/mybatis-flex/issues/I8JZ75
This commit is contained in:
parent
d9dbd4a92c
commit
e877c0b1f1
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022-2025, Mybatis-Flex (fuhai999@gmail.com).
|
* Copyright (c) 2022-2024, Mybatis-Flex (fuhai999@gmail.com).
|
||||||
* <p>
|
* <p>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -53,7 +53,7 @@ public class SelectQueryColumn extends QueryColumn implements HasParamsColumn {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
String toConditionSql(List<QueryTable> queryTables, IDialect dialect) {
|
String toConditionSql(List<QueryTable> queryTables, IDialect dialect) {
|
||||||
return super.toConditionSql(queryTables, dialect);
|
return dialect.forSelectByQuery(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user