|
|
@ -39,7 +39,7 @@ async function basicDataAllProject (ctx) { |
|
|
|
const { models } = ctx.fs.dc; |
|
|
|
const { clickHouse } = ctx.app.fs |
|
|
|
|
|
|
|
const proRes = await models.ProjectCorrelation.findAndCountAll({ |
|
|
|
const proRes = await models.ProjectCorrelation.findAll({ |
|
|
|
where: { |
|
|
|
del: false, |
|
|
|
}, |
|
|
@ -65,7 +65,7 @@ async function basicDataAllProject (ctx) { |
|
|
|
` |
|
|
|
).toPromise() || [] : |
|
|
|
[] |
|
|
|
console.log('pepProjectRes', pepProjectRes); |
|
|
|
|
|
|
|
const list = proRes.map(p => { |
|
|
|
const corPro = pepProjectRes.find(pp => pp.id == p.pepProjectId) || {} |
|
|
|
return { |
|
|
|