Files
yinnihailiang_one/lms/docs/testing/need-empty-axis/prepare-local.sql

13 lines
676 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 仅用于 localhost/yinni_lms 本地模拟。已存在可用冷却位,无需修改库存。
-- 原值:is_connect_acs=1;目标生箔机 empty_point_code/full_point_code 均为NULL。
START TRANSACTION;
UPDATE sys_param SET value='0' WHERE code='is_connect_acs' AND value='1';
SELECT ROW_COUNT() AS acs_switch_changed;
UPDATE st_ivt_sbpointivt
SET empty_point_code='N1_ED_1_1_K', full_point_code='N1_ED_1_1_M'
WHERE point_id=1578633980616511488 AND point_code='N1_ED_1_1'
AND empty_point_code IS NULL AND full_point_code IS NULL;
SELECT ROW_COUNT() AS device_changed;
COMMIT;
-- 上述两个编码仅供ACS关闭时模拟,不代表已确认的真实设备编码。