|
|
@ -301,12 +301,13 @@ async function apiErrorList (ctx) { |
|
|
|
findOption.where.$or.push( |
|
|
|
{ |
|
|
|
'$app.name$': { $like: `%${keyword}%` } |
|
|
|
} |
|
|
|
}, |
|
|
|
) |
|
|
|
} else { |
|
|
|
findOption.where['$app->projectCorrelations.id$'] = { |
|
|
|
$in: pomsProjectIds |
|
|
|
} |
|
|
|
// findOption.where['$app->projectCorrelations.id$'] = {
|
|
|
|
// $in: pomsProjectIds
|
|
|
|
// }
|
|
|
|
findOption.include[0].include[0].where.id = { $in: pomsProjectIds } |
|
|
|
} |
|
|
|
|
|
|
|
if (errType) { |
|
|
|