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:
SunYF
2026-11-12 15:52:51 +08:00
parent 7b7d27d150
commit 7e8066ab66
45 changed files with 10797 additions and 105 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<title>MES 产线控制</title>
<!-- 系统图标:产线齿轮(内联 SVG,避免依赖外部文件) -->
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' rx='6' fill='%231668dc'/><circle cx='16' cy='16' r='4.2' fill='none' stroke='%23fff' stroke-width='2'/><path d='M16 5v3M16 24v3M5 16h3M24 16h3M8.2 8.2l2.1 2.1M21.7 21.7l2.1 2.1M23.8 8.2l-2.1 2.1M10.3 21.7l-2.1 2.1' stroke='%23fff' stroke-width='2' stroke-linecap='round'/></svg>">
<script type="module" crossorigin src="/assets/index-DJbohUba.js"></script>
<script type="module" crossorigin src="/assets/index-gryvn_Uc.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Bjf6CqIy.css">
</head>
<body>