- 在main.go中添加定时任务每10分钟同步可生产数量到WMS系统 - 为BomItem实体添加relatedStandard字段及相关CRUD方法 - 为InspectionRecord实体添加reportNo、materialCode、materialName等字段 - 更新ent schema确保新字段的验证和默认值设置 - 添加必要的数据库迁移和字段映射逻辑
77 lines
2.4 KiB
Go
77 lines
2.4 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package predicate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// AgvTask is the predicate function for agvtask builders.
|
|
type AgvTask func(*sql.Selector)
|
|
|
|
// Attachment is the predicate function for attachment builders.
|
|
type Attachment 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)
|
|
|
|
// InboundDetail is the predicate function for inbounddetail builders.
|
|
type InboundDetail func(*sql.Selector)
|
|
|
|
// InboundOrder is the predicate function for inboundorder builders.
|
|
type InboundOrder func(*sql.Selector)
|
|
|
|
// InspectionRecord is the predicate function for inspectionrecord builders.
|
|
type InspectionRecord func(*sql.Selector)
|
|
|
|
// Inventory is the predicate function for inventory builders.
|
|
type Inventory func(*sql.Selector)
|
|
|
|
// InventoryLock is the predicate function for inventorylock builders.
|
|
type InventoryLock func(*sql.Selector)
|
|
|
|
// Material is the predicate function for material builders.
|
|
type Material func(*sql.Selector)
|
|
|
|
// MaterialDemand is the predicate function for materialdemand builders.
|
|
type MaterialDemand func(*sql.Selector)
|
|
|
|
// OrderMaterialLedger is the predicate function for ordermaterialledger builders.
|
|
type OrderMaterialLedger func(*sql.Selector)
|
|
|
|
// OutboundDetail is the predicate function for outbounddetail builders.
|
|
type OutboundDetail func(*sql.Selector)
|
|
|
|
// OutboundOrder is the predicate function for outboundorder builders.
|
|
type OutboundOrder func(*sql.Selector)
|
|
|
|
// Permission is the predicate function for permission builders.
|
|
type Permission func(*sql.Selector)
|
|
|
|
// ProducibleSnapshot is the predicate function for produciblesnapshot builders.
|
|
type ProducibleSnapshot func(*sql.Selector)
|
|
|
|
// ReturnOrder is the predicate function for returnorder builders.
|
|
type ReturnOrder func(*sql.Selector)
|
|
|
|
// Role is the predicate function for role builders.
|
|
type Role func(*sql.Selector)
|
|
|
|
// SemiFinished is the predicate function for semifinished builders.
|
|
type SemiFinished func(*sql.Selector)
|
|
|
|
// StocktakeItem is the predicate function for stocktakeitem builders.
|
|
type StocktakeItem func(*sql.Selector)
|
|
|
|
// StocktakeOrder is the predicate function for stocktakeorder builders.
|
|
type StocktakeOrder func(*sql.Selector)
|
|
|
|
// User is the predicate function for user builders.
|
|
type User func(*sql.Selector)
|
|
|
|
// Zone is the predicate function for zone builders.
|
|
type Zone func(*sql.Selector)
|