feat: 重构BOM架构,新增基础设置与虚拟工位管理功能

本次重构删除原有BOM物料清单表,改用工单工艺组合×工艺物料清单作为唯一用料来源;新增系统基础设置表支持WMS地址、日志保留天数等配置,新增虚拟工位作业管理后台接口与前端页签控制功能,同时优化工位号校验逻辑、事件日志自动清理与工单用料查询能力。
This commit is contained in:
SunYF
2026-09-23 11:41:28 +08:00
parent d3eda6b588
commit f274da044c
74 changed files with 3637 additions and 5586 deletions
+2 -2
View File
@@ -7,7 +7,6 @@ import (
"bj_power_mes/ent/alertrule"
"bj_power_mes/ent/associationtrace"
"bj_power_mes/ent/attachment"
"bj_power_mes/ent/bomitem"
"bj_power_mes/ent/dailyplan"
"bj_power_mes/ent/dock"
"bj_power_mes/ent/eventlog"
@@ -27,6 +26,7 @@ import (
"bj_power_mes/ent/stationstate"
"bj_power_mes/ent/stepcriterion"
"bj_power_mes/ent/stepdata"
"bj_power_mes/ent/sysconfig"
"bj_power_mes/ent/torqueauditlog"
"bj_power_mes/ent/torquerecord"
"bj_power_mes/ent/user"
@@ -108,7 +108,6 @@ func checkColumn(t, c string) error {
alertrule.Table: alertrule.ValidColumn,
associationtrace.Table: associationtrace.ValidColumn,
attachment.Table: attachment.ValidColumn,
bomitem.Table: bomitem.ValidColumn,
dailyplan.Table: dailyplan.ValidColumn,
dock.Table: dock.ValidColumn,
eventlog.Table: eventlog.ValidColumn,
@@ -128,6 +127,7 @@ func checkColumn(t, c string) error {
stationstate.Table: stationstate.ValidColumn,
stepcriterion.Table: stepcriterion.ValidColumn,
stepdata.Table: stepdata.ValidColumn,
sysconfig.Table: sysconfig.ValidColumn,
torqueauditlog.Table: torqueauditlog.ValidColumn,
torquerecord.Table: torquerecord.ValidColumn,
user.Table: user.ValidColumn,