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:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
+5 -13
View File
@@ -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;