mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2025-12-11 13:52:50 +00:00
Compare commits
2 Commits
102beffc07
...
87bcda844e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87bcda844e | ||
|
|
a402464cc2 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-midway/core",
|
"name": "@cool-midway/core",
|
||||||
"version": "8.0.3",
|
"version": "8.0.4",
|
||||||
"description": "cool-admin midway core",
|
"description": "cool-admin midway core",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "index.d.ts",
|
"typings": "index.d.ts",
|
||||||
|
|||||||
@ -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