Fix mssql test

This commit is contained in:
Lunny Xiao 2023-10-19 16:33:29 +08:00
parent 3aca84268c
commit 9126dc31c1
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func (statement *Statement) GenCountSQL(beans ...interface{}) (string, []interfa
subQuerySelect = selectSQL
}
if err := statement.writeSelect(buf, subQuerySelect, false); err != nil {
if err := statement.writeSelect(buf, subQuerySelect, true); err != nil {
return "", nil, err
}