|
|
@ -34,7 +34,7 @@ async function list (ctx) { |
|
|
|
if (keywordTarget == 'tactics') { |
|
|
|
findOption.where.name = { $like: `%${keyword}%` } |
|
|
|
} else if (keywordTarget == 'struc') { |
|
|
|
let bindAnixinStrucRes = await clickHouse.projectManage.query(` |
|
|
|
let bindAnixinStrucRes = await clickHouse.anxinyun.query(` |
|
|
|
SELECT id, name FROM t_structure |
|
|
|
WHERE name LIKE '%${keyword}%' |
|
|
|
`).toPromise()
|
|
|
|