- 新增产品工艺(product_process)及明细(product_process_item)数据模型 - 新增工序审核开关(need_audit)与审核角色(audit_role)字段 - 新增待审核签字页面与路由 - 优化 WMS/MES 接口交互,增加业务错误处理与友好提示 - 补充库存过滤逻辑,避免返回已出库 SN 数据 - 调整默认查询时间范围为近一个月,优化用户体验
110 lines
3.5 KiB
Go
110 lines
3.5 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)
|
|
|
|
// 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)
|
|
|
|
// Material is the predicate function for material builders.
|
|
type Material 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)
|
|
|
|
// 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)
|
|
|
|
// ProductProcess is the predicate function for productprocess builders.
|
|
type ProductProcess func(*sql.Selector)
|
|
|
|
// ProductProcessItem is the predicate function for productprocessitem builders.
|
|
type ProductProcessItem 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)
|
|
|
|
// StepSignRecord is the predicate function for stepsignrecord builders.
|
|
type StepSignRecord func(*sql.Selector)
|
|
|
|
// SysConfig is the predicate function for sysconfig builders.
|
|
type SysConfig 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)
|