feat: 多系统新增扫码中间件与 AGV 对接,优化拧紧与退库流程

新增扫码中间件支持网络型扫码枪键盘注入,AGV 对接从 WMS 迁至 MES 统一管理;新增拧紧不合格人工处置与 PLC 对账机制,优化退库单关联与工位终端功能,同时清理旧 AGV 任务表,完善数据库与配置项。
This commit is contained in:
SunYF
2026-10-14 17:24:59 +08:00
parent 8e6048c64b
commit f65a52d9e1
170 changed files with 15415 additions and 10572 deletions
+7 -1
View File
@@ -12,6 +12,8 @@ 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
// Alert is the client for interacting with the Alert builders.
Alert *AlertClient
// AlertRule is the client for interacting with the AlertRule builders.
@@ -20,6 +22,8 @@ type Tx struct {
AssociationTrace *AssociationTraceClient
// Attachment is the client for interacting with the Attachment builders.
Attachment *AttachmentClient
// CallPool is the client for interacting with the CallPool builders.
CallPool *CallPoolClient
// DailyPlan is the client for interacting with the DailyPlan builders.
DailyPlan *DailyPlanClient
// Dock is the client for interacting with the Dock builders.
@@ -213,10 +217,12 @@ func (tx *Tx) Client() *Client {
}
func (tx *Tx) init() {
tx.AgvTask = NewAgvTaskClient(tx.config)
tx.Alert = NewAlertClient(tx.config)
tx.AlertRule = NewAlertRuleClient(tx.config)
tx.AssociationTrace = NewAssociationTraceClient(tx.config)
tx.Attachment = NewAttachmentClient(tx.config)
tx.CallPool = NewCallPoolClient(tx.config)
tx.DailyPlan = NewDailyPlanClient(tx.config)
tx.Dock = NewDockClient(tx.config)
tx.EventLog = NewEventLogClient(tx.config)
@@ -257,7 +263,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: Alert.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.