|
@ -12,7 +12,15 @@ async function list (ctx) { |
|
|
let findOption = { |
|
|
let findOption = { |
|
|
where: { |
|
|
where: { |
|
|
del: false |
|
|
del: false |
|
|
} |
|
|
}, |
|
|
|
|
|
include: [{ |
|
|
|
|
|
model: models.ProjectCorrelation, |
|
|
|
|
|
where: { |
|
|
|
|
|
del: false, |
|
|
|
|
|
pepProjectId: state == 'notYet' ? { $ne: null } : undefined |
|
|
|
|
|
}, |
|
|
|
|
|
required: true |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let anxinStrucsRange = await anxinStrucIdRange({ |
|
|
let anxinStrucsRange = await anxinStrucIdRange({ |
|
|