mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-07 17:48:40 +08:00
修复Dialect.psForCount未传入Wrapper导致大小写问题(issue#ID39G9@Gitee)。
This commit is contained in:
parent
8a878dccfa
commit
8d108e3094
@ -171,7 +171,7 @@ public interface Dialect extends Serializable {
|
|||||||
* @throws DbException SQL执行异常
|
* @throws DbException SQL执行异常
|
||||||
*/
|
*/
|
||||||
default PreparedStatement psForCount(final Connection conn, final Query query) throws DbException {
|
default PreparedStatement psForCount(final Connection conn, final Query query) throws DbException {
|
||||||
return psForCount(conn, SqlBuilder.of().query(query));
|
return psForCount(conn, SqlBuilder.of(getWrapper()).query(query));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user