Skip to content

Commit 68b9d86

Browse files
author
xiaopeng
committed
fix
1 parent 3a31939 commit 68b9d86

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cool-midway/core",
3-
"version": "8.0.0",
3+
"version": "8.0.1",
44
"description": "cool-admin midway core",
55
"main": "dist/index.js",
66
"typings": "index.d.ts",

core/src/service/mysql.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export abstract class BaseMysqlService {
162162
find.addOrderBy(order, sort.toUpperCase());
163163
}
164164
return {
165-
list: await dataFind.getRawMany(),
165+
list: await dataFind.getMany(),
166166
pagination: {
167167
page: parseInt(page),
168168
size: parseInt(size),

core/src/service/postgres.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export abstract class BasePgService {
191191
find.addOrderBy(order, sort.toUpperCase());
192192
}
193193
return {
194-
list: await dataFind.getRawMany(),
194+
list: await dataFind.getMany(),
195195
pagination: {
196196
page: parseInt(page),
197197
size: parseInt(size),

core/src/service/sqlite.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export abstract class BaseSqliteService {
193193
find.addOrderBy(order, sort.toUpperCase());
194194
}
195195
return {
196-
list: await dataFind.getRawMany(),
196+
list: await dataFind.getMany(),
197197
pagination: {
198198
page: parseInt(page),
199199
size: parseInt(size),

rpc/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cool-midway/rpc",
3-
"version": "8.0.0",
3+
"version": "8.0.1",
44
"description": "cool-admin midway rpc",
55
"main": "dist/index.js",
66
"typings": "index.d.ts",
@@ -29,7 +29,7 @@
2929
"url": "https://cool-js.com"
3030
},
3131
"devDependencies": {
32-
"@cool-midway/core": "8.0.0-beta.1",
32+
"@cool-midway/core": "8.0.1",
3333
"@midwayjs/core": "^3.20.0",
3434
"@midwayjs/koa": "^3.20.0",
3535
"@midwayjs/logger": "^3.4.2",

rpc/pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

task/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cool-midway/task",
3-
"version": "8.0.0",
3+
"version": "8.0.1",
44
"description": "cool-admin midway task",
55
"main": "dist/index.js",
66
"typings": "index.d.ts",
@@ -29,7 +29,7 @@
2929
"url": "https://cool-js.com"
3030
},
3131
"devDependencies": {
32-
"@cool-midway/core": "8.0.0-beta.1",
32+
"@cool-midway/core": "8.0.1",
3333
"@midwayjs/core": "^3.20.0",
3434
"@midwayjs/mock": "^3.20.0",
3535
"@midwayjs/redis": "^3.20.0",

task/pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)