Files
bj_power/bj_power_mes/ent/predicate/predicate.go
T
SunYF 0ab21b1234 feat&refactor: 完成多模块功能迭代与配置优化
本次提交覆盖多个业务模块的功能完善与体验优化:
1.  **鉴权与配置调整**:
    - 统一JWT滑动续签逻辑,简化Token存储,移除RefreshToken相关冗余代码
    - 调整多项目配置文件中JWT过期时间为3600秒,统一会话闲置窗口
    - 工位配置放开1~12限制,改为仅校验大于0
2.  **术语统一替换**:全链路将"精密件"替换为"电气件",修正物料管理描述
3.  **功能新增**:
    - 新增工位类型、工艺路线与产线点位台账模块
    - 添加工艺PDF预览面板、工位终端代理转发接口
    - 新增操作日志按操作人列表筛选、工位登出日志记录
    - 新增PLC移料指令与产线点位状态管理
4.  **业务流程优化**:
    - 调整BOM物料删除校验逻辑,优化工单备料计算
    - 补充物料图号、检测单号等追溯字段
    - 完善工艺流程图与工位绑定关系说明
    - 优化前端页面文案与交互细节
5.  **代码规范与维护**:
    - 新增通用工具函数与前端静态资源
    - 整理路由权限与中间件逻辑
    - 修复部分接口与配置的不兼容问题
2026-09-10 16:59:15 +08:00

95 lines
3.0 KiB
Go

// Code generated by ent, DO NOT EDIT.
package predicate
import (
"entgo.io/ent/dialect/sql"
)
// AssociationTrace is the predicate function for associationtrace builders.
type AssociationTrace 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)
// EventLog is the predicate function for eventlog builders.
type EventLog 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)
// 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)
// ProcessRoute is the predicate function for processroute builders.
type ProcessRoute func(*sql.Selector)
// ProcessStep is the predicate function for processstep builders.
type ProcessStep func(*sql.Selector)
// ProductType is the predicate function for producttype builders.
type ProductType func(*sql.Selector)
// Role is the predicate function for role builders.
type Role func(*sql.Selector)
// RouteSegment is the predicate function for routesegment builders.
type RouteSegment func(*sql.Selector)
// ScanRecord is the predicate function for scanrecord builders.
type ScanRecord 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)
// StationProcess is the predicate function for stationprocess builders.
type StationProcess 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)
// 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)