refactor: 重构产线工位与备料流程,移除冗余字段
1. 移除工单、工件、日排产中的冗余工位组合/接驳台字段 2. 新增工位接驳台编码字段与唯一约束,关联WMS接驳台主数据 3. 重构日排产为工位产量分配模式,替代原接驳台列表 4. 新增备料单工位级字段与分批出库支持 5. 移除定时同步可生产数量,改为WMS实时拉取接口 6. 过滤操作日志,排除登录/退出相关日志 7. 调整仪表盘工序展示逻辑为今日派工路线 8. 新增接驳台维护菜单与基础数据
This commit is contained in:
@@ -89,6 +89,11 @@ func HasDock(v bool) predicate.Station {
|
||||
return predicate.Station(sql.FieldEQ(FieldHasDock, v))
|
||||
}
|
||||
|
||||
// DockCode applies equality check predicate on the "dockCode" field. It's identical to DockCodeEQ.
|
||||
func DockCode(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldEQ(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v time.Time) predicate.Station {
|
||||
return predicate.Station(sql.FieldEQ(FieldCreatedAt, v))
|
||||
@@ -399,6 +404,71 @@ func HasDockNEQ(v bool) predicate.Station {
|
||||
return predicate.Station(sql.FieldNEQ(FieldHasDock, v))
|
||||
}
|
||||
|
||||
// DockCodeEQ applies the EQ predicate on the "dockCode" field.
|
||||
func DockCodeEQ(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldEQ(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeNEQ applies the NEQ predicate on the "dockCode" field.
|
||||
func DockCodeNEQ(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldNEQ(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeIn applies the In predicate on the "dockCode" field.
|
||||
func DockCodeIn(vs ...string) predicate.Station {
|
||||
return predicate.Station(sql.FieldIn(FieldDockCode, vs...))
|
||||
}
|
||||
|
||||
// DockCodeNotIn applies the NotIn predicate on the "dockCode" field.
|
||||
func DockCodeNotIn(vs ...string) predicate.Station {
|
||||
return predicate.Station(sql.FieldNotIn(FieldDockCode, vs...))
|
||||
}
|
||||
|
||||
// DockCodeGT applies the GT predicate on the "dockCode" field.
|
||||
func DockCodeGT(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldGT(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeGTE applies the GTE predicate on the "dockCode" field.
|
||||
func DockCodeGTE(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldGTE(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeLT applies the LT predicate on the "dockCode" field.
|
||||
func DockCodeLT(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldLT(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeLTE applies the LTE predicate on the "dockCode" field.
|
||||
func DockCodeLTE(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldLTE(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeContains applies the Contains predicate on the "dockCode" field.
|
||||
func DockCodeContains(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldContains(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeHasPrefix applies the HasPrefix predicate on the "dockCode" field.
|
||||
func DockCodeHasPrefix(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldHasPrefix(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeHasSuffix applies the HasSuffix predicate on the "dockCode" field.
|
||||
func DockCodeHasSuffix(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldHasSuffix(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeEqualFold applies the EqualFold predicate on the "dockCode" field.
|
||||
func DockCodeEqualFold(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldEqualFold(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// DockCodeContainsFold applies the ContainsFold predicate on the "dockCode" field.
|
||||
func DockCodeContainsFold(v string) predicate.Station {
|
||||
return predicate.Station(sql.FieldContainsFold(FieldDockCode, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.Station {
|
||||
return predicate.Station(sql.FieldEQ(FieldCreatedAt, v))
|
||||
|
||||
Reference in New Issue
Block a user