|
|
@ -86,7 +86,7 @@ async function pomsProject (ctx) { |
|
|
|
|
|
|
|
|
|
|
|
for (let p of proRes.rows) { |
|
|
|
const corPro = pepProjectRes.find(pp => pp.id == p.pepProjectId) |
|
|
|
const corPro = pepProjectRes.find(pp => pp.id == p.pepProjectId) || {} |
|
|
|
p.dataValues.pepProjectName = corPro.project_name |
|
|
|
p.dataValues.pepProjectIsDelete = corPro.isdelete |
|
|
|
p.dataValues.constructionStatusId = corPro.construction_status_id |
|
|
|