diff --git a/core/package.json b/core/package.json index c9837bc..99e5854 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/core", - "version": "8.0.1", + "version": "8.0.2", "description": "cool-admin midway core", "main": "dist/index.js", "typings": "index.d.ts", diff --git a/core/src/service/postgres.ts b/core/src/service/postgres.ts index 0eada0c..9ecbc85 100644 --- a/core/src/service/postgres.ts +++ b/core/src/service/postgres.ts @@ -469,7 +469,7 @@ export abstract class BasePgService { } } // 关键字模糊搜索 - if (keyWord || keyWord == 0) { + if (keyWord || keyWord === 0) { keyWord = `%${keyWord}%`; find.andWhere( new Brackets(qb => { diff --git a/task/package.json b/task/package.json index de457f5..9f8f4ba 100644 --- a/task/package.json +++ b/task/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/task", - "version": "8.0.1", + "version": "8.0.2", "description": "cool-admin midway task", "main": "dist/index.js", "typings": "index.d.ts",