AGV 调度: - 任务重构为 GO_LOAD/TRANSPORT/EMPTY_RETURN/FREE 三段链,到位即停(ARRIVED)需人工确认装卸 - 自由调度单点步进,每段强制弹"请确保路径畅通无杂物";托盘回收独立工作台 - 接驳台 PLC 传感器检测到托盘即自动卸货放行,传感器故障由人工按钮兜底(无轮询) - 车辆状态只读展示(海康3.1.7 queryAgvStatus),调度仍由 RCS 负责 物料闭环: - 补料管理(SHORTAGE):工位申请 + 主管审批调增叫料池额度,与借料/差异补发三轨并行 - 损耗台账(loss_ledger):退料实际 < 理论必填原因、后审核,工单不记损耗 - 退料强制指定左/右接驳台,WMS 库管可代工位退料 下班闭环: - 工位终端自检接驳台剩余物料后下班;库管收货 + 托盘拉走后事件驱动自动结班 - 退出登录未下班仅作安全提示(不强制拦截、不新增责任审批) 接驳台左右按操作员朝向建模(dock.side 字段),废除"奇左偶右"隐式约定; 看板标签 / seed / 迁移补丁 / 布局文档统一为中文左/右。 产线布局说明:C1 前线头 AGV 点、C15 后线尾 AGV 点、外部 O1/O2/O3 散点, 清理修订痕迹为最终态描述。
606 lines
20 KiB
Go
606 lines
20 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package dock
|
|
|
|
import (
|
|
"bj_power_mes/ent/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// DockCode applies equality check predicate on the "dockCode" field. It's identical to DockCodeEQ.
|
|
func DockCode(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldDockCode, v))
|
|
}
|
|
|
|
// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
|
|
func Name(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldName, v))
|
|
}
|
|
|
|
// DockType applies equality check predicate on the "dockType" field. It's identical to DockTypeEQ.
|
|
func DockType(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldDockType, v))
|
|
}
|
|
|
|
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
|
func StationNo(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// Side applies equality check predicate on the "side" field. It's identical to SideEQ.
|
|
func Side(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldSide, v))
|
|
}
|
|
|
|
// HasPallet applies equality check predicate on the "hasPallet" field. It's identical to HasPalletEQ.
|
|
func HasPallet(v bool) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldHasPallet, v))
|
|
}
|
|
|
|
// PalletRef applies equality check predicate on the "palletRef" field. It's identical to PalletRefEQ.
|
|
func PalletRef(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldPalletRef, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// DockCodeEQ applies the EQ predicate on the "dockCode" field.
|
|
func DockCodeEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeNEQ applies the NEQ predicate on the "dockCode" field.
|
|
func DockCodeNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeIn applies the In predicate on the "dockCode" field.
|
|
func DockCodeIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldDockCode, vs...))
|
|
}
|
|
|
|
// DockCodeNotIn applies the NotIn predicate on the "dockCode" field.
|
|
func DockCodeNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldDockCode, vs...))
|
|
}
|
|
|
|
// DockCodeGT applies the GT predicate on the "dockCode" field.
|
|
func DockCodeGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeGTE applies the GTE predicate on the "dockCode" field.
|
|
func DockCodeGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeLT applies the LT predicate on the "dockCode" field.
|
|
func DockCodeLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeLTE applies the LTE predicate on the "dockCode" field.
|
|
func DockCodeLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeContains applies the Contains predicate on the "dockCode" field.
|
|
func DockCodeContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeHasPrefix applies the HasPrefix predicate on the "dockCode" field.
|
|
func DockCodeHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeHasSuffix applies the HasSuffix predicate on the "dockCode" field.
|
|
func DockCodeHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeEqualFold applies the EqualFold predicate on the "dockCode" field.
|
|
func DockCodeEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldDockCode, v))
|
|
}
|
|
|
|
// DockCodeContainsFold applies the ContainsFold predicate on the "dockCode" field.
|
|
func DockCodeContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldDockCode, v))
|
|
}
|
|
|
|
// NameEQ applies the EQ predicate on the "name" field.
|
|
func NameEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldName, v))
|
|
}
|
|
|
|
// NameNEQ applies the NEQ predicate on the "name" field.
|
|
func NameNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldName, v))
|
|
}
|
|
|
|
// NameIn applies the In predicate on the "name" field.
|
|
func NameIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldName, vs...))
|
|
}
|
|
|
|
// NameNotIn applies the NotIn predicate on the "name" field.
|
|
func NameNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldName, vs...))
|
|
}
|
|
|
|
// NameGT applies the GT predicate on the "name" field.
|
|
func NameGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldName, v))
|
|
}
|
|
|
|
// NameGTE applies the GTE predicate on the "name" field.
|
|
func NameGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldName, v))
|
|
}
|
|
|
|
// NameLT applies the LT predicate on the "name" field.
|
|
func NameLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldName, v))
|
|
}
|
|
|
|
// NameLTE applies the LTE predicate on the "name" field.
|
|
func NameLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldName, v))
|
|
}
|
|
|
|
// NameContains applies the Contains predicate on the "name" field.
|
|
func NameContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldName, v))
|
|
}
|
|
|
|
// NameHasPrefix applies the HasPrefix predicate on the "name" field.
|
|
func NameHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldName, v))
|
|
}
|
|
|
|
// NameHasSuffix applies the HasSuffix predicate on the "name" field.
|
|
func NameHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldName, v))
|
|
}
|
|
|
|
// NameEqualFold applies the EqualFold predicate on the "name" field.
|
|
func NameEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldName, v))
|
|
}
|
|
|
|
// NameContainsFold applies the ContainsFold predicate on the "name" field.
|
|
func NameContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldName, v))
|
|
}
|
|
|
|
// DockTypeEQ applies the EQ predicate on the "dockType" field.
|
|
func DockTypeEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeNEQ applies the NEQ predicate on the "dockType" field.
|
|
func DockTypeNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeIn applies the In predicate on the "dockType" field.
|
|
func DockTypeIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldDockType, vs...))
|
|
}
|
|
|
|
// DockTypeNotIn applies the NotIn predicate on the "dockType" field.
|
|
func DockTypeNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldDockType, vs...))
|
|
}
|
|
|
|
// DockTypeGT applies the GT predicate on the "dockType" field.
|
|
func DockTypeGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeGTE applies the GTE predicate on the "dockType" field.
|
|
func DockTypeGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeLT applies the LT predicate on the "dockType" field.
|
|
func DockTypeLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeLTE applies the LTE predicate on the "dockType" field.
|
|
func DockTypeLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeContains applies the Contains predicate on the "dockType" field.
|
|
func DockTypeContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeHasPrefix applies the HasPrefix predicate on the "dockType" field.
|
|
func DockTypeHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeHasSuffix applies the HasSuffix predicate on the "dockType" field.
|
|
func DockTypeHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeEqualFold applies the EqualFold predicate on the "dockType" field.
|
|
func DockTypeEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldDockType, v))
|
|
}
|
|
|
|
// DockTypeContainsFold applies the ContainsFold predicate on the "dockType" field.
|
|
func DockTypeContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldDockType, v))
|
|
}
|
|
|
|
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
|
func StationNoEQ(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
|
func StationNoNEQ(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoIn applies the In predicate on the "stationNo" field.
|
|
func StationNoIn(vs ...int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
|
func StationNoNotIn(vs ...int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoGT applies the GT predicate on the "stationNo" field.
|
|
func StationNoGT(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
|
func StationNoGTE(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLT applies the LT predicate on the "stationNo" field.
|
|
func StationNoLT(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
|
func StationNoLTE(v int) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldStationNo, v))
|
|
}
|
|
|
|
// SideEQ applies the EQ predicate on the "side" field.
|
|
func SideEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldSide, v))
|
|
}
|
|
|
|
// SideNEQ applies the NEQ predicate on the "side" field.
|
|
func SideNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldSide, v))
|
|
}
|
|
|
|
// SideIn applies the In predicate on the "side" field.
|
|
func SideIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldSide, vs...))
|
|
}
|
|
|
|
// SideNotIn applies the NotIn predicate on the "side" field.
|
|
func SideNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldSide, vs...))
|
|
}
|
|
|
|
// SideGT applies the GT predicate on the "side" field.
|
|
func SideGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldSide, v))
|
|
}
|
|
|
|
// SideGTE applies the GTE predicate on the "side" field.
|
|
func SideGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldSide, v))
|
|
}
|
|
|
|
// SideLT applies the LT predicate on the "side" field.
|
|
func SideLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldSide, v))
|
|
}
|
|
|
|
// SideLTE applies the LTE predicate on the "side" field.
|
|
func SideLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldSide, v))
|
|
}
|
|
|
|
// SideContains applies the Contains predicate on the "side" field.
|
|
func SideContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldSide, v))
|
|
}
|
|
|
|
// SideHasPrefix applies the HasPrefix predicate on the "side" field.
|
|
func SideHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldSide, v))
|
|
}
|
|
|
|
// SideHasSuffix applies the HasSuffix predicate on the "side" field.
|
|
func SideHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldSide, v))
|
|
}
|
|
|
|
// SideEqualFold applies the EqualFold predicate on the "side" field.
|
|
func SideEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldSide, v))
|
|
}
|
|
|
|
// SideContainsFold applies the ContainsFold predicate on the "side" field.
|
|
func SideContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldSide, v))
|
|
}
|
|
|
|
// HasPalletEQ applies the EQ predicate on the "hasPallet" field.
|
|
func HasPalletEQ(v bool) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldHasPallet, v))
|
|
}
|
|
|
|
// HasPalletNEQ applies the NEQ predicate on the "hasPallet" field.
|
|
func HasPalletNEQ(v bool) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldHasPallet, v))
|
|
}
|
|
|
|
// PalletRefEQ applies the EQ predicate on the "palletRef" field.
|
|
func PalletRefEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefNEQ applies the NEQ predicate on the "palletRef" field.
|
|
func PalletRefNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefIn applies the In predicate on the "palletRef" field.
|
|
func PalletRefIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldPalletRef, vs...))
|
|
}
|
|
|
|
// PalletRefNotIn applies the NotIn predicate on the "palletRef" field.
|
|
func PalletRefNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldPalletRef, vs...))
|
|
}
|
|
|
|
// PalletRefGT applies the GT predicate on the "palletRef" field.
|
|
func PalletRefGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefGTE applies the GTE predicate on the "palletRef" field.
|
|
func PalletRefGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefLT applies the LT predicate on the "palletRef" field.
|
|
func PalletRefLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefLTE applies the LTE predicate on the "palletRef" field.
|
|
func PalletRefLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefContains applies the Contains predicate on the "palletRef" field.
|
|
func PalletRefContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefHasPrefix applies the HasPrefix predicate on the "palletRef" field.
|
|
func PalletRefHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefHasSuffix applies the HasSuffix predicate on the "palletRef" field.
|
|
func PalletRefHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefIsNil applies the IsNil predicate on the "palletRef" field.
|
|
func PalletRefIsNil() predicate.Dock {
|
|
return predicate.Dock(sql.FieldIsNull(FieldPalletRef))
|
|
}
|
|
|
|
// PalletRefNotNil applies the NotNil predicate on the "palletRef" field.
|
|
func PalletRefNotNil() predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotNull(FieldPalletRef))
|
|
}
|
|
|
|
// PalletRefEqualFold applies the EqualFold predicate on the "palletRef" field.
|
|
func PalletRefEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldPalletRef, v))
|
|
}
|
|
|
|
// PalletRefContainsFold applies the ContainsFold predicate on the "palletRef" field.
|
|
func PalletRefContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldPalletRef, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.Dock {
|
|
return predicate.Dock(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
|
func CreatedAtEQ(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
|
func CreatedAtGT(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
|
func CreatedAtGTE(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
|
func CreatedAtLT(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
|
func CreatedAtLTE(v time.Time) predicate.Dock {
|
|
return predicate.Dock(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.Dock) predicate.Dock {
|
|
return predicate.Dock(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.Dock) predicate.Dock {
|
|
return predicate.Dock(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.Dock) predicate.Dock {
|
|
return predicate.Dock(sql.NotPredicates(p))
|
|
}
|