Commit 61f70b2a by 谢海旭

5.8.0 版本内容维护

1 parent cd603444
-- 标签包含 '1'(轻改) 的员工,合并为一条 INSERT 语句:轻改》精品升级 -- 标签包含 '1'(轻改) 的员工,INSERT 语句:轻改》精品升级
select concat( select concat(
'INSERT INTO dj_car_life_staff_account_scene (account_record_id, base_scene_code, scene_type) VALUES ', 'INSERT INTO dj_car_life_staff_account_scene (account_record_id, base_scene_code, scene_type) VALUES (', id, ', ''100101'', 1);'
GROUP_CONCAT(
concat('(', id, ', ''100101'', 1)')
SEPARATOR ', '
),
';'
) AS insert_sql ) AS insert_sql
FROM dj_smartcarlife.dj_car_life_staff_account_record FROM dj_smartcarlife.dj_car_life_staff_account_record
where deleted_flag != 'D' where deleted_flag != 'D'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!