|
|
@ -29,7 +29,6 @@ async function getStructures (ctx) { |
|
|
|
SELECT |
|
|
|
t_structure.id AS strucId, |
|
|
|
t_structure.name AS strucName |
|
|
|
|
|
|
|
FROM |
|
|
|
t_project |
|
|
|
LEFT JOIN |
|
|
@ -57,6 +56,7 @@ async function getStructures (ctx) { |
|
|
|
project_state != -1 |
|
|
|
AND |
|
|
|
t_project.id IN (${[...anxinProjectIds].join(',')}, -1) |
|
|
|
AND t_structure.external_platform is not null |
|
|
|
ORDER BY strucId |
|
|
|
` |
|
|
|
).toPromise() : |
|
|
|