mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2025-12-11 05:42:49 +00:00
fix entityRenderPage
This commit is contained in:
parent
102beffc07
commit
a402464cc2
@ -162,7 +162,7 @@ export abstract class BaseMysqlService {
|
||||
find.addOrderBy(order, sort.toUpperCase());
|
||||
}
|
||||
return {
|
||||
list: await dataFind.getMany(),
|
||||
list: await dataFind.getRawMany(),
|
||||
pagination: {
|
||||
page: parseInt(page),
|
||||
size: parseInt(size),
|
||||
|
||||
@ -191,7 +191,7 @@ export abstract class BasePgService {
|
||||
find.addOrderBy(order, sort.toUpperCase());
|
||||
}
|
||||
return {
|
||||
list: await dataFind.getMany(),
|
||||
list: await dataFind.getRawMany(),
|
||||
pagination: {
|
||||
page: parseInt(page),
|
||||
size: parseInt(size),
|
||||
|
||||
@ -193,7 +193,7 @@ export abstract class BaseSqliteService {
|
||||
find.addOrderBy(order, sort.toUpperCase());
|
||||
}
|
||||
return {
|
||||
list: await dataFind.getMany(),
|
||||
list: await dataFind.getRawMany(),
|
||||
pagination: {
|
||||
page: parseInt(page),
|
||||
size: parseInt(size),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user