mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
优化插件调用速度
This commit is contained in:
parent
561b9229a0
commit
7efa8802e0
@ -167,6 +167,7 @@ export class PluginService extends BaseService {
|
|||||||
}
|
}
|
||||||
const info = await this.pluginInfoEntity
|
const info = await this.pluginInfoEntity
|
||||||
.createQueryBuilder('a')
|
.createQueryBuilder('a')
|
||||||
|
.select(['a.id', 'a.status'])
|
||||||
.where({ status: 1, keyName: Equal(key) })
|
.where({ status: 1, keyName: Equal(key) })
|
||||||
.getOne();
|
.getOne();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user