|
@ -48,7 +48,7 @@ module.exports = function (app, opts) { |
|
|
ON t_pim_project.id = t_pim_project_construction.project_id |
|
|
ON t_pim_project.id = t_pim_project_construction.project_id |
|
|
LEFT JOIN t_pim_project_state |
|
|
LEFT JOIN t_pim_project_state |
|
|
ON t_pim_project_construction.construction_status_id = t_pim_project_state.id |
|
|
ON t_pim_project_construction.construction_status_id = t_pim_project_state.id |
|
|
WHERE id IN (${[...pepProjectIds].join(',')}) |
|
|
WHERE id IN (${[...pepProjectIds].join(',')}, -1) |
|
|
` |
|
|
` |
|
|
).toPromise() : |
|
|
).toPromise() : |
|
|
[] |
|
|
[] |
|
|