docs(test): 更新电表箱装配业务回归测试文档

- 将文档从代码审计任务转换为端到端业务回归测试链路
- 重新组织文档结构为链路总览、示例数据基线和详细步骤
- 添加完整的业务场景清单涵盖WMS/MES/工位终端三大系统
- 定义统一的测试数据包括产品型号、物料清单、工位派工等
- 提供详细的步骤断言和数量等式验证方法
- 建立贯穿全链路的数据流向和状态变更追踪体系
This commit is contained in:
SunYF
2026-09-21 10:48:53 +08:00
parent 0d34bcd6a3
commit 132c3ed6bd
63 changed files with 3309 additions and 5784 deletions
-31
View File
@@ -101,36 +101,6 @@ var (
},
},
}
// DocksColumns holds the columns for the "docks" table.
DocksColumns = []*schema.Column{
{Name: "id", Type: field.TypeInt, Increment: true},
{Name: "dock_code", Type: field.TypeString, Unique: true, Size: 20},
{Name: "name", Type: field.TypeString, Size: 64, Default: ""},
{Name: "dock_type", Type: field.TypeString, Size: 16, Default: "line"},
{Name: "station_no", Type: field.TypeInt, Default: 0},
{Name: "has_pallet", Type: field.TypeBool, Default: false},
{Name: "pallet_ref", Type: field.TypeString, Nullable: true, Size: 64, Default: ""},
{Name: "status", Type: field.TypeString, Size: 20, Default: "ENABLED"},
{Name: "created_at", Type: field.TypeInt64},
}
// DocksTable holds the schema information for the "docks" table.
DocksTable = &schema.Table{
Name: "docks",
Columns: DocksColumns,
PrimaryKey: []*schema.Column{DocksColumns[0]},
Indexes: []*schema.Index{
{
Name: "dock_dock_code",
Unique: true,
Columns: []*schema.Column{DocksColumns[1]},
},
{
Name: "dock_dock_type",
Unique: false,
Columns: []*schema.Column{DocksColumns[3]},
},
},
}
// EventLogColumns holds the columns for the "event_log" table.
EventLogColumns = []*schema.Column{
{Name: "id", Type: field.TypeInt, Increment: true},
@@ -867,7 +837,6 @@ var (
Tables = []*schema.Table{
AgvTasksTable,
AttachmentsTable,
DocksTable,
EventLogTable,
InboundDetailsTable,
InboundOrdersTable,