feat: 完成产线与仓储系统多模块迭代升级

本次迭代覆盖MES与WMS核心业务:
1. 新增接驳台托盘传感器读取与AGV对接能力
2. 完善工单排产、备料流程与权限体系拆分
3. 优化看板接口与前端路由、样式
4. 新增操作日志、库存盘点与角色保护逻辑
5. 修复代理地址、BOM保存等已知问题
This commit is contained in:
SunYF
2026-09-04 14:18:53 +08:00
parent c1fc6d32b2
commit b6799c9de4
138 changed files with 20613 additions and 2220 deletions
+10 -1
View File
@@ -12,6 +12,12 @@ import (
// Tx is a transactional client that is created by calling Client.Tx().
type Tx struct {
config
// AgvTask is the client for interacting with the AgvTask builders.
AgvTask *AgvTaskClient
// Dock is the client for interacting with the Dock builders.
Dock *DockClient
// EventLog is the client for interacting with the EventLog builders.
EventLog *EventLogClient
// InboundDetail is the client for interacting with the InboundDetail builders.
InboundDetail *InboundDetailClient
// InboundOrder is the client for interacting with the InboundOrder builders.
@@ -175,6 +181,9 @@ func (tx *Tx) Client() *Client {
}
func (tx *Tx) init() {
tx.AgvTask = NewAgvTaskClient(tx.config)
tx.Dock = NewDockClient(tx.config)
tx.EventLog = NewEventLogClient(tx.config)
tx.InboundDetail = NewInboundDetailClient(tx.config)
tx.InboundOrder = NewInboundOrderClient(tx.config)
tx.InspectionRecord = NewInspectionRecordClient(tx.config)
@@ -200,7 +209,7 @@ func (tx *Tx) init() {
// of them in order to commit or rollback the transaction.
//
// If a closed transaction is embedded in one of the generated entities, and the entity
// applies a query, for example: InboundDetail.QueryXXX(), the query will be executed
// applies a query, for example: AgvTask.QueryXXX(), the query will be executed
// through the driver which created this transaction.
//
// Note that txDriver is not goroutine safe.