mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
perf: EAB授权支持绑定邮箱,支持公共EAB设置
This commit is contained in:
@@ -51,7 +51,7 @@ export class HistoryController extends CrudController<HistoryService> {
|
||||
const pipelines = await this.pipelineService.list({
|
||||
query: pipelineQuery,
|
||||
buildQuery: qb => {
|
||||
qb.where('title like :title', { title: `%${pipelineTitle}%` });
|
||||
qb.andWhere('title like :title', { title: `%${pipelineTitle}%` });
|
||||
},
|
||||
});
|
||||
pipelineIds = pipelines.map(p => p.id);
|
||||
@@ -59,7 +59,7 @@ export class HistoryController extends CrudController<HistoryService> {
|
||||
|
||||
const buildQuery = qb => {
|
||||
if (pipelineIds) {
|
||||
qb.where({
|
||||
qb.andWhere({
|
||||
pipelineId: In(pipelineIds),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user