feat: 完成多模块迭代更新

- 新增过程巡检按步骤上报、数量不符上报、工位退料功能
- 增加工单工程编号三级归属字段
- 新增物料安全库存与缺货预警
- 新增附件管理、退库单管理模块
- 优化生产看板展示逻辑与前端页面文案
- 清理冗余的工艺路线相关代码与备份文件
This commit is contained in:
SunYF
2026-09-15 16:37:39 +08:00
parent 951f3dfecd
commit 4a5e2d7bac
494 changed files with 24702 additions and 139223 deletions
+4
View File
@@ -4,6 +4,7 @@ package ent
import (
"bj_power_wms/ent/agvtask"
"bj_power_wms/ent/attachment"
"bj_power_wms/ent/dock"
"bj_power_wms/ent/eventlog"
"bj_power_wms/ent/inbounddetail"
@@ -16,6 +17,7 @@ import (
"bj_power_wms/ent/outbounddetail"
"bj_power_wms/ent/outboundorder"
"bj_power_wms/ent/permission"
"bj_power_wms/ent/returnorder"
"bj_power_wms/ent/role"
"bj_power_wms/ent/semifinished"
"bj_power_wms/ent/stocktakeitem"
@@ -92,6 +94,7 @@ func checkColumn(t, c string) error {
initCheck.Do(func() {
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
agvtask.Table: agvtask.ValidColumn,
attachment.Table: attachment.ValidColumn,
dock.Table: dock.ValidColumn,
eventlog.Table: eventlog.ValidColumn,
inbounddetail.Table: inbounddetail.ValidColumn,
@@ -104,6 +107,7 @@ func checkColumn(t, c string) error {
outbounddetail.Table: outbounddetail.ValidColumn,
outboundorder.Table: outboundorder.ValidColumn,
permission.Table: permission.ValidColumn,
returnorder.Table: returnorder.ValidColumn,
role.Table: role.ValidColumn,
semifinished.Table: semifinished.ValidColumn,
stocktakeitem.Table: stocktakeitem.ValidColumn,