fix(assets): show inventory operations managers and bump v1.1.19
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
shishengliang
2026-10-10 21:43:03 +08:00
parent 40ef05d49b
commit 9f89e9f61c
11 changed files with 30 additions and 9 deletions
+5
View File
@@ -100,6 +100,11 @@ export const MAIN_SQL = `SELECT
NULLIF(vi.registered_ownership, '') AS 主体,
vor.project_name AS 项目名称,
vor.business_manager AS 客户经理,
(SELECT GROUP_CONCAT(
COALESCE(NULLIF(TRIM(ops.nick_name), ''), NULLIF(TRIM(ops.user_name), ''), CAST(ops.user_id AS CHAR))
ORDER BY ops.id SEPARATOR '、')
FROM vehicle_ops_manager_rel ops
WHERE ops.vehicle_id = vi.id AND ops.del_flag = '0') AS ops_managers,
CAST(COALESCE(c.business_manager_id, vi.business_id) AS CHAR) AS 经理ID
FROM vehicle_info vi
LEFT JOIN vehicle_status vs