mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix #I9VS96
This commit is contained in:
parent
3c4adf34c5
commit
923517fe57
@ -133,7 +133,9 @@ public class StatementBuilder implements Builder<StatementWrapper> {
|
|||||||
Assert.notBlank(sql, "Sql String must be not blank!");
|
Assert.notBlank(sql, "Sql String must be not blank!");
|
||||||
final List<Object> paramsBatch = this.boundSql.getParams();
|
final List<Object> paramsBatch = this.boundSql.getParams();
|
||||||
|
|
||||||
sqlFilter.filter(this.connection, this.boundSql, this.returnGeneratedKey);
|
if(null != this.sqlFilter){
|
||||||
|
this.sqlFilter.filter(this.connection, this.boundSql, this.returnGeneratedKey);
|
||||||
|
}
|
||||||
|
|
||||||
final StatementWrapper ps;
|
final StatementWrapper ps;
|
||||||
try {
|
try {
|
||||||
@ -175,7 +177,9 @@ public class StatementBuilder implements Builder<StatementWrapper> {
|
|||||||
final Object[] params = this.boundSql.getParamArray();
|
final Object[] params = this.boundSql.getParamArray();
|
||||||
Assert.notBlank(sql, "Sql String must be not blank!");
|
Assert.notBlank(sql, "Sql String must be not blank!");
|
||||||
|
|
||||||
sqlFilter.filter(this.connection, this.boundSql, this.returnGeneratedKey);
|
if(null != this.sqlFilter){
|
||||||
|
this.sqlFilter.filter(this.connection, this.boundSql, this.returnGeneratedKey);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return (CallableStatement) StatementWrapper
|
return (CallableStatement) StatementWrapper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user