1. 全局替换"工序"为"工艺"统一术语,包括页面文案、枚举、注释
2. 重构工单与工件工艺数据模型:
- 新增工艺组合表flow_material作为备料/齐套唯一源头
- 新增工位状态表station_state支持自主停单/恢复接单
- 移除station_process派工表,改用工单工艺组合作为路线唯一源头
- 替换processCode为flowId作为工艺关联标识
- 重构工件当前进度字段为currentStationNo
3. 删除冗余的静态备份资源文件
4. 调整物料选择组件默认启用仅显示激活物料
5. 优化工单创建/编辑逻辑,新增工艺组合校验与保存
104 lines
3.3 KiB
Go
104 lines
3.3 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package predicate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// Alert is the predicate function for alert builders.
|
|
type Alert func(*sql.Selector)
|
|
|
|
// AlertRule is the predicate function for alertrule builders.
|
|
type AlertRule func(*sql.Selector)
|
|
|
|
// AssociationTrace is the predicate function for associationtrace builders.
|
|
type AssociationTrace func(*sql.Selector)
|
|
|
|
// Attachment is the predicate function for attachment builders.
|
|
type Attachment func(*sql.Selector)
|
|
|
|
// BomItem is the predicate function for bomitem builders.
|
|
type BomItem func(*sql.Selector)
|
|
|
|
// DailyPlan is the predicate function for dailyplan builders.
|
|
type DailyPlan func(*sql.Selector)
|
|
|
|
// Dock is the predicate function for dock builders.
|
|
type Dock func(*sql.Selector)
|
|
|
|
// EventLog is the predicate function for eventlog builders.
|
|
type EventLog func(*sql.Selector)
|
|
|
|
// FlowMaterial is the predicate function for flowmaterial builders.
|
|
type FlowMaterial func(*sql.Selector)
|
|
|
|
// InspectionRecord is the predicate function for inspectionrecord builders.
|
|
type InspectionRecord func(*sql.Selector)
|
|
|
|
// LinePoint is the predicate function for linepoint builders.
|
|
type LinePoint func(*sql.Selector)
|
|
|
|
// MaterialQtyReport is the predicate function for materialqtyreport builders.
|
|
type MaterialQtyReport func(*sql.Selector)
|
|
|
|
// MaterialRequest is the predicate function for materialrequest builders.
|
|
type MaterialRequest func(*sql.Selector)
|
|
|
|
// Permission is the predicate function for permission builders.
|
|
type Permission func(*sql.Selector)
|
|
|
|
// PlcMoveCmd is the predicate function for plcmovecmd builders.
|
|
type PlcMoveCmd func(*sql.Selector)
|
|
|
|
// PlcSendLog is the predicate function for plcsendlog builders.
|
|
type PlcSendLog func(*sql.Selector)
|
|
|
|
// ProcessFlow is the predicate function for processflow builders.
|
|
type ProcessFlow func(*sql.Selector)
|
|
|
|
// ProcessStep is the predicate function for processstep builders.
|
|
type ProcessStep func(*sql.Selector)
|
|
|
|
// Role is the predicate function for role builders.
|
|
type Role func(*sql.Selector)
|
|
|
|
// SemiFlow is the predicate function for semiflow builders.
|
|
type SemiFlow func(*sql.Selector)
|
|
|
|
// Station is the predicate function for station builders.
|
|
type Station func(*sql.Selector)
|
|
|
|
// StationState is the predicate function for stationstate builders.
|
|
type StationState func(*sql.Selector)
|
|
|
|
// StepCriterion is the predicate function for stepcriterion builders.
|
|
type StepCriterion func(*sql.Selector)
|
|
|
|
// StepData is the predicate function for stepdata builders.
|
|
type StepData func(*sql.Selector)
|
|
|
|
// TorqueAuditLog is the predicate function for torqueauditlog builders.
|
|
type TorqueAuditLog func(*sql.Selector)
|
|
|
|
// TorqueRecord is the predicate function for torquerecord builders.
|
|
type TorqueRecord func(*sql.Selector)
|
|
|
|
// User is the predicate function for user builders.
|
|
type User func(*sql.Selector)
|
|
|
|
// UserStation is the predicate function for userstation builders.
|
|
type UserStation func(*sql.Selector)
|
|
|
|
// WorkOrder is the predicate function for workorder builders.
|
|
type WorkOrder func(*sql.Selector)
|
|
|
|
// Workpiece is the predicate function for workpiece builders.
|
|
type Workpiece func(*sql.Selector)
|
|
|
|
// WorkpieceBind is the predicate function for workpiecebind builders.
|
|
type WorkpieceBind func(*sql.Selector)
|
|
|
|
// WorkpieceProcess is the predicate function for workpieceprocess builders.
|
|
type WorkpieceProcess func(*sql.Selector)
|