mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
fix: 不忽略 null 值时拼接 null 参数。
This commit is contained in:
parent
fd1b7ec473
commit
f2d4096279
@ -95,10 +95,13 @@ class WrapperUtil {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!condition.checkEffective()) {
|
||||
getValues(condition.next, params);
|
||||
return;
|
||||
}
|
||||
|
||||
Object value = condition.getValue();
|
||||
if (value == null
|
||||
|| value instanceof QueryColumn
|
||||
|| value instanceof RawQueryCondition) {
|
||||
if (value instanceof QueryColumn || value instanceof RawQueryCondition) {
|
||||
getValues(condition.next, params);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user