优化插件调用速度

This commit is contained in:
cool 2024-04-29 16:24:05 +08:00
parent 561b9229a0
commit 7efa8802e0

View File

@ -167,6 +167,7 @@ export class PluginService extends BaseService {
}
const info = await this.pluginInfoEntity
.createQueryBuilder('a')
.select(['a.id', 'a.status'])
.where({ status: 1, keyName: Equal(key) })
.getOne();