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
+3 -3
View File
@@ -20,8 +20,6 @@ type Tx struct {
AssociationTrace *AssociationTraceClient
// Attachment is the client for interacting with the Attachment builders.
Attachment *AttachmentClient
// BomItem is the client for interacting with the BomItem builders.
BomItem *BomItemClient
// DailyPlan is the client for interacting with the DailyPlan builders.
DailyPlan *DailyPlanClient
// Dock is the client for interacting with the Dock builders.
@@ -60,6 +58,8 @@ type Tx struct {
StepCriterion *StepCriterionClient
// StepData is the client for interacting with the StepData builders.
StepData *StepDataClient
// SysConfig is the client for interacting with the SysConfig builders.
SysConfig *SysConfigClient
// TorqueAuditLog is the client for interacting with the TorqueAuditLog builders.
TorqueAuditLog *TorqueAuditLogClient
// TorqueRecord is the client for interacting with the TorqueRecord builders.
@@ -211,7 +211,6 @@ func (tx *Tx) init() {
tx.AlertRule = NewAlertRuleClient(tx.config)
tx.AssociationTrace = NewAssociationTraceClient(tx.config)
tx.Attachment = NewAttachmentClient(tx.config)
tx.BomItem = NewBomItemClient(tx.config)
tx.DailyPlan = NewDailyPlanClient(tx.config)
tx.Dock = NewDockClient(tx.config)
tx.EventLog = NewEventLogClient(tx.config)
@@ -231,6 +230,7 @@ func (tx *Tx) init() {
tx.StationState = NewStationStateClient(tx.config)
tx.StepCriterion = NewStepCriterionClient(tx.config)
tx.StepData = NewStepDataClient(tx.config)
tx.SysConfig = NewSysConfigClient(tx.config)
tx.TorqueAuditLog = NewTorqueAuditLogClient(tx.config)
tx.TorqueRecord = NewTorqueRecordClient(tx.config)
tx.User = NewUserClient(tx.config)