refactor: 重构产线工位与备料流程,移除冗余字段

1. 移除工单、工件、日排产中的冗余工位组合/接驳台字段
2. 新增工位接驳台编码字段与唯一约束,关联WMS接驳台主数据
3. 重构日排产为工位产量分配模式,替代原接驳台列表
4. 新增备料单工位级字段与分批出库支持
5. 移除定时同步可生产数量,改为WMS实时拉取接口
6. 过滤操作日志,排除登录/退出相关日志
7. 调整仪表盘工序展示逻辑为今日派工路线
8. 新增接驳台维护菜单与基础数据
This commit is contained in:
SunYF
2026-09-19 07:50:21 +08:00
parent 543655d441
commit 37f10d3a13
156 changed files with 4489 additions and 1285 deletions
+6 -6
View File
@@ -304,14 +304,14 @@ func CompletedQtyLTE(v int) predicate.DailyPlan {
return predicate.DailyPlan(sql.FieldLTE(FieldCompletedQty, v))
}
// DockCodesIsNil applies the IsNil predicate on the "dockCodes" field.
func DockCodesIsNil() predicate.DailyPlan {
return predicate.DailyPlan(sql.FieldIsNull(FieldDockCodes))
// StationPlanQtyIsNil applies the IsNil predicate on the "stationPlanQty" field.
func StationPlanQtyIsNil() predicate.DailyPlan {
return predicate.DailyPlan(sql.FieldIsNull(FieldStationPlanQty))
}
// DockCodesNotNil applies the NotNil predicate on the "dockCodes" field.
func DockCodesNotNil() predicate.DailyPlan {
return predicate.DailyPlan(sql.FieldNotNull(FieldDockCodes))
// StationPlanQtyNotNil applies the NotNil predicate on the "stationPlanQty" field.
func StationPlanQtyNotNil() predicate.DailyPlan {
return predicate.DailyPlan(sql.FieldNotNull(FieldStationPlanQty))
}
// StatusEQ applies the EQ predicate on the "status" field.