fix(assets): show inventory operations managers and bump v1.1.19
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user