refactor: 重构产线工位与备料流程,移除冗余字段
1. 移除工单、工件、日排产中的冗余工位组合/接驳台字段 2. 新增工位接驳台编码字段与唯一约束,关联WMS接驳台主数据 3. 重构日排产为工位产量分配模式,替代原接驳台列表 4. 新增备料单工位级字段与分批出库支持 5. 移除定时同步可生产数量,改为WMS实时拉取接口 6. 过滤操作日志,排除登录/退出相关日志 7. 调整仪表盘工序展示逻辑为今日派工路线 8. 新增接驳台维护菜单与基础数据
This commit is contained in:
@@ -19,8 +19,6 @@ const (
|
||||
FieldOrderNo = "order_no"
|
||||
// FieldWorkOrderId holds the string denoting the workorderid field in the database.
|
||||
FieldWorkOrderId = "work_order_id"
|
||||
// FieldProcessSeq holds the string denoting the processseq field in the database.
|
||||
FieldProcessSeq = "process_seq"
|
||||
// FieldCurrentProcess holds the string denoting the currentprocess field in the database.
|
||||
FieldCurrentProcess = "current_process"
|
||||
// FieldStatus holds the string denoting the status field in the database.
|
||||
@@ -43,7 +41,6 @@ var Columns = []string{
|
||||
FieldSn,
|
||||
FieldOrderNo,
|
||||
FieldWorkOrderId,
|
||||
FieldProcessSeq,
|
||||
FieldCurrentProcess,
|
||||
FieldStatus,
|
||||
FieldOnlineAt,
|
||||
@@ -69,10 +66,6 @@ var (
|
||||
DefaultOrderNo string
|
||||
// OrderNoValidator is a validator for the "orderNo" field. It is called by the builders before save.
|
||||
OrderNoValidator func(string) error
|
||||
// DefaultProcessSeq holds the default value on creation for the "processSeq" field.
|
||||
DefaultProcessSeq string
|
||||
// ProcessSeqValidator is a validator for the "processSeq" field. It is called by the builders before save.
|
||||
ProcessSeqValidator func(string) error
|
||||
// DefaultStatus holds the default value on creation for the "status" field.
|
||||
DefaultStatus string
|
||||
// StatusValidator is a validator for the "status" field. It is called by the builders before save.
|
||||
@@ -110,11 +103,6 @@ func ByWorkOrderId(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldWorkOrderId, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByProcessSeq orders the results by the processSeq field.
|
||||
func ByProcessSeq(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldProcessSeq, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCurrentProcess orders the results by the currentProcess field.
|
||||
func ByCurrentProcess(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCurrentProcess, opts...).ToFunc()
|
||||
|
||||
Reference in New Issue
Block a user