fixed: 修复 SelectQueryColumn 作为条件列空值问题,关闭 https://gitee.com/mybatis-flex/mybatis-flex/issues/I8JZ75

This commit is contained in:
Suomm 2024-10-01 16:35:46 +08:00
parent d9dbd4a92c
commit e877c0b1f1

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2025, Mybatis-Flex (fuhai999@gmail.com).
* Copyright (c) 2022-2024, Mybatis-Flex (fuhai999@gmail.com).
* <p>
* Licensed under the Apache License, Version 2.0 (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
String toConditionSql(List<QueryTable> queryTables, IDialect dialect) {
return super.toConditionSql(queryTables, dialect);
return dialect.forSelectByQuery(queryWrapper);
}
@Override