fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
-- 生产数据重置脚本:清空所有生产数据,保留基础配置(设备/配方/产品/PLC信号/用户/角色)
|
||||
DELETE FROM micrometer_measurement;
|
||||
DELETE FROM inspection_image;
|
||||
DELETE FROM alarm;
|
||||
DELETE FROM manual_action;
|
||||
DELETE FROM event_log;
|
||||
DELETE FROM job_step_instance;
|
||||
DELETE FROM task_log;
|
||||
DELETE FROM task;
|
||||
DELETE FROM job;
|
||||
DELETE FROM work_order;
|
||||
UPDATE equipment_slot SET status = 'EMPTY', current_job_id = null, occupied_at = null;
|
||||
UPDATE equipment SET occupied_by = '', occupied_reason = '', occupied_at = null;
|
||||
delete from job;
|
||||
delete from job_step_instance;
|
||||
delete from work_order;
|
||||
update dock_slot set status = 0, current_job_id = null, workpiece_type_id = null, work_order_id = null;
|
||||
update equipment_slot set status = 'EMPTY', current_job_id = null, occupied_at = null;
|
||||
Reference in New Issue
Block a user