feat: 新增预警与附件模块,优化工位派工功能

1. 新增预警规则、预警消息、业务附件数据库表与CRUD逻辑
2. 为拧紧记录添加审核人、审核时间字段及审核留痕功能
3. 优化产线点位类型与编号描述,更新工位组合下发菜单名称为工艺路线派工
4. 新增上传文件获取原文件名与大小的工具方法
5. 在系统管理菜单新增预警中心与附件中心入口
This commit is contained in:
SunYF
2026-09-14 16:31:08 +08:00
parent 0ab21b1234
commit 5c3b747a20
399 changed files with 147674 additions and 2213 deletions
+3 -3
View File
@@ -17,13 +17,13 @@ type LinePoint struct {
config `json:"-"`
// ID of the ent.
ID int `json:"id,omitempty"`
// STATION工位/CACHE缓存位/DOCK接驳台/END端
// FEED上料位/STATION工位/CACHE缓存位/DOCK接驳台/END
PointType string `json:"pointType,omitempty"`
// 点位编号:1~12 / C1~C8 / 1-R1 / END-L
// 点位编号:IN上料位 / 1~10工位 / C1~C8缓存位 / 1-R1接驳台 / END-U上排末端 / END-D下排末端
PointNo string `json:"pointNo,omitempty"`
// 点位名称
Label string `json:"label,omitempty"`
// 传送带顺序(左→右,用于相邻缓存位判定)
// 传送带顺序(上料位→工位→末端,用于相邻缓存位判定)
Seq int `json:"seq,omitempty"`
// 所属工位号(DOCK/CACHE 归属;0=无)
StationNo int `json:"stationNo,omitempty"`