feat: 多系统新增扫码中间件与 AGV 对接,优化拧紧与退库流程
新增扫码中间件支持网络型扫码枪键盘注入,AGV 对接从 WMS 迁至 MES 统一管理;新增拧紧不合格人工处置与 PLC 对账机制,优化退库单关联与工位终端功能,同时清理旧 AGV 任务表,完善数据库与配置项。
This commit is contained in:
@@ -12,8 +12,6 @@ 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
|
||||
// Attachment is the client for interacting with the Attachment builders.
|
||||
Attachment *AttachmentClient
|
||||
// EventLog is the client for interacting with the EventLog builders.
|
||||
@@ -185,7 +183,6 @@ func (tx *Tx) Client() *Client {
|
||||
}
|
||||
|
||||
func (tx *Tx) init() {
|
||||
tx.AgvTask = NewAgvTaskClient(tx.config)
|
||||
tx.Attachment = NewAttachmentClient(tx.config)
|
||||
tx.EventLog = NewEventLogClient(tx.config)
|
||||
tx.InboundDetail = NewInboundDetailClient(tx.config)
|
||||
@@ -215,7 +212,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: AgvTask.QueryXXX(), the query will be executed
|
||||
// applies a query, for example: Attachment.QueryXXX(), the query will be executed
|
||||
// through the driver which created this transaction.
|
||||
//
|
||||
// Note that txDriver is not goroutine safe.
|
||||
|
||||
Reference in New Issue
Block a user