Files
bj_power/bj_power_wms/ent/predicate/predicate.go
T
SunYF 68f50ee46e refactor(wms): 合并库存表为统一inventory,重构业务逻辑
1. 合并inventory_batch与serial_number为统一inventory表,用manage_mode区分结构件批次/精密件SN
2. 移除冗余的material_type字段与相关逻辑
3. 重构库存查询、检验、入库出库等业务逻辑适配新表结构
4. 调整前端路由与菜单,拆分基础数据为区域维护和物料档案
5. 优化入库校验逻辑,避免空单问题
6. 调整Vite构建配置,关闭自动清空输出目录
7. 为各模块添加详细中文注释,统一业务术语
8. 生成并更新Ent自动代码文件
2026-09-02 08:21:11 +08:00

53 lines
1.7 KiB
Go

// Code generated by ent, DO NOT EDIT.
package predicate
import (
"entgo.io/ent/dialect/sql"
)
// 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)
// 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)
// PackageBox is the predicate function for packagebox builders.
type PackageBox 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)