mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2025-12-13 14:52: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());
|
find.addOrderBy(order, sort.toUpperCase());
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
list: await dataFind.getMany(),
|
list: await dataFind.getRawMany(),
|
||||||
pagination: {
|
pagination: {
|
||||||
page: parseInt(page),
|
page: parseInt(page),
|
||||||
size: parseInt(size),
|
size: parseInt(size),
|
||||||
|
|||||||
@ -191,7 +191,7 @@ export abstract class BasePgService {
|
|||||||
find.addOrderBy(order, sort.toUpperCase());
|
find.addOrderBy(order, sort.toUpperCase());
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
list: await dataFind.getMany(),
|
list: await dataFind.getRawMany(),
|
||||||
pagination: {
|
pagination: {
|
||||||
page: parseInt(page),
|
page: parseInt(page),
|
||||||
size: parseInt(size),
|
size: parseInt(size),
|
||||||
|
|||||||
@ -193,7 +193,7 @@ export abstract class BaseSqliteService {
|
|||||||
find.addOrderBy(order, sort.toUpperCase());
|
find.addOrderBy(order, sort.toUpperCase());
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
list: await dataFind.getMany(),
|
list: await dataFind.getRawMany(),
|
||||||
pagination: {
|
pagination: {
|
||||||
page: parseInt(page),
|
page: parseInt(page),
|
||||||
size: parseInt(size),
|
size: parseInt(size),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user