feat: 同步失败(SyncFailure)实体化与 ent 全量重生成
- 新增 SyncFailure 实体:MES/WMS 两端 schema 源 + ent 生成码(create/delete/query/update 及子包) - ent 框架文件全量重生成:client/ent/hook/migrate/mutation/predicate/runtime/tx - 清理旧代码生成入口:删除 schema/gen.go 与 schema/tools/generate.go - 同步失败页面调整:MES/WMS SyncFailure.vue 接入新实体,MES 产品工艺页同步调整 - 主程序入口注册新实体:bj_power_mes.go / bj_power_wms.go,工作站 main.go 同步调整 - 更新文档:WMS README、案例、问题记录;刷新 MES/WMS 前端构建产物
This commit is contained in:
@@ -80,6 +80,8 @@ type Tx struct {
|
||||
StepData *StepDataClient
|
||||
// StepSignRecord is the client for interacting with the StepSignRecord builders.
|
||||
StepSignRecord *StepSignRecordClient
|
||||
// SyncFailure is the client for interacting with the SyncFailure builders.
|
||||
SyncFailure *SyncFailureClient
|
||||
// SysConfig is the client for interacting with the SysConfig builders.
|
||||
SysConfig *SysConfigClient
|
||||
// TorqueRecord is the client for interacting with the TorqueRecord builders.
|
||||
@@ -263,6 +265,7 @@ func (tx *Tx) init() {
|
||||
tx.StepCriterion = NewStepCriterionClient(tx.config)
|
||||
tx.StepData = NewStepDataClient(tx.config)
|
||||
tx.StepSignRecord = NewStepSignRecordClient(tx.config)
|
||||
tx.SyncFailure = NewSyncFailureClient(tx.config)
|
||||
tx.SysConfig = NewSysConfigClient(tx.config)
|
||||
tx.TorqueRecord = NewTorqueRecordClient(tx.config)
|
||||
tx.User = NewUserClient(tx.config)
|
||||
|
||||
Reference in New Issue
Block a user