refactor(mes): 移除工位接驳台绑定逻辑,改为独立dock主数据
- 移除station表的hasDock、dockCode字段及相关代码 - 新增dock表注释及关联逻辑,支持一个工位绑定多个接驳台 - 更新工位相关的seed、logic、schema及前端代码,适配新的接驳台管理方式 - 新增SQL注释固化脚本,完善MES表注释
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
// InspectionRecord is the model entity for the InspectionRecord schema.
|
||||
// InspectionRecord 检验记录
|
||||
type InspectionRecord struct {
|
||||
config `json:"-"`
|
||||
// ID of the ent.
|
||||
@@ -34,7 +34,7 @@ type InspectionRecord struct {
|
||||
RelatedStandard string `json:"relatedStandard,omitempty"`
|
||||
// 生产厂家
|
||||
Manufacturer string `json:"manufacturer,omitempty"`
|
||||
// 来料检/过程检/成品检
|
||||
// 来料检(过程检/完工检已移至 MES)
|
||||
InspectionType string `json:"inspectionType,omitempty"`
|
||||
// 未检/合格/不合格
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user