Files
bj_power/bj_power_wms/ent/outboundorder/where.go
T
SunYF 572fa975bc feat: 完成WMS系统权限体系与业务功能迭代
本提交完成了WMS系统的多维度优化升级:
1. 新增RBAC权限系统,支持角色/菜单/按钮三级权限管控
2. 重构库存盘点、物料管理、区域维护等模块的查询筛选与展示逻辑
3. 优化入库/出库/质检等业务流程,完善数据冗余与业务闭环
4. 移除旧装箱表,将装箱逻辑合并到出库主表
5. 新增前端权限判断工具、导出工具与端到端测试用例
6. 补充完善各类注释与数据库字段说明
2026-09-03 14:20:37 +08:00

1295 lines
50 KiB
Go

// Code generated by ent, DO NOT EDIT.
package outboundorder
import (
"bj_power_wms/ent/predicate"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldID, id))
}
// OutboundNo applies equality check predicate on the "outbound_no" field. It's identical to OutboundNoEQ.
func OutboundNo(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOutboundNo, v))
}
// OutboundType applies equality check predicate on the "outbound_type" field. It's identical to OutboundTypeEQ.
func OutboundType(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOutboundType, v))
}
// OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.
func OrderNo(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOrderNo, v))
}
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
func MaterialCode(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
func MaterialName(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldMaterialName, v))
}
// ManageMode applies equality check predicate on the "manage_mode" field. It's identical to ManageModeEQ.
func ManageMode(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldManageMode, v))
}
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
func BatchNo(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBatchNo, v))
}
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
func ZoneCode(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldZoneCode, v))
}
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func Quantity(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldQuantity, v))
}
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
func Operator(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOperator, v))
}
// Reviewer applies equality check predicate on the "reviewer" field. It's identical to ReviewerEQ.
func Reviewer(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldReviewer, v))
}
// TargetDock applies equality check predicate on the "target_dock" field. It's identical to TargetDockEQ.
func TargetDock(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldTargetDock, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldRemark, v))
}
// BoxNo applies equality check predicate on the "box_no" field. It's identical to BoxNoEQ.
func BoxNo(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBoxNo, v))
}
// BoxSnList applies equality check predicate on the "box_sn_list" field. It's identical to BoxSnListEQ.
func BoxSnList(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBoxSnList, v))
}
// ContractNo applies equality check predicate on the "contract_no" field. It's identical to ContractNoEQ.
func ContractNo(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldContractNo, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldCreatedAt, v))
}
// OutboundNoEQ applies the EQ predicate on the "outbound_no" field.
func OutboundNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOutboundNo, v))
}
// OutboundNoNEQ applies the NEQ predicate on the "outbound_no" field.
func OutboundNoNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldOutboundNo, v))
}
// OutboundNoIn applies the In predicate on the "outbound_no" field.
func OutboundNoIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldOutboundNo, vs...))
}
// OutboundNoNotIn applies the NotIn predicate on the "outbound_no" field.
func OutboundNoNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldOutboundNo, vs...))
}
// OutboundNoGT applies the GT predicate on the "outbound_no" field.
func OutboundNoGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldOutboundNo, v))
}
// OutboundNoGTE applies the GTE predicate on the "outbound_no" field.
func OutboundNoGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldOutboundNo, v))
}
// OutboundNoLT applies the LT predicate on the "outbound_no" field.
func OutboundNoLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldOutboundNo, v))
}
// OutboundNoLTE applies the LTE predicate on the "outbound_no" field.
func OutboundNoLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldOutboundNo, v))
}
// OutboundNoContains applies the Contains predicate on the "outbound_no" field.
func OutboundNoContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldOutboundNo, v))
}
// OutboundNoHasPrefix applies the HasPrefix predicate on the "outbound_no" field.
func OutboundNoHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldOutboundNo, v))
}
// OutboundNoHasSuffix applies the HasSuffix predicate on the "outbound_no" field.
func OutboundNoHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldOutboundNo, v))
}
// OutboundNoEqualFold applies the EqualFold predicate on the "outbound_no" field.
func OutboundNoEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldOutboundNo, v))
}
// OutboundNoContainsFold applies the ContainsFold predicate on the "outbound_no" field.
func OutboundNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldOutboundNo, v))
}
// OutboundTypeEQ applies the EQ predicate on the "outbound_type" field.
func OutboundTypeEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOutboundType, v))
}
// OutboundTypeNEQ applies the NEQ predicate on the "outbound_type" field.
func OutboundTypeNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldOutboundType, v))
}
// OutboundTypeIn applies the In predicate on the "outbound_type" field.
func OutboundTypeIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldOutboundType, vs...))
}
// OutboundTypeNotIn applies the NotIn predicate on the "outbound_type" field.
func OutboundTypeNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldOutboundType, vs...))
}
// OutboundTypeGT applies the GT predicate on the "outbound_type" field.
func OutboundTypeGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldOutboundType, v))
}
// OutboundTypeGTE applies the GTE predicate on the "outbound_type" field.
func OutboundTypeGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldOutboundType, v))
}
// OutboundTypeLT applies the LT predicate on the "outbound_type" field.
func OutboundTypeLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldOutboundType, v))
}
// OutboundTypeLTE applies the LTE predicate on the "outbound_type" field.
func OutboundTypeLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldOutboundType, v))
}
// OutboundTypeContains applies the Contains predicate on the "outbound_type" field.
func OutboundTypeContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldOutboundType, v))
}
// OutboundTypeHasPrefix applies the HasPrefix predicate on the "outbound_type" field.
func OutboundTypeHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldOutboundType, v))
}
// OutboundTypeHasSuffix applies the HasSuffix predicate on the "outbound_type" field.
func OutboundTypeHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldOutboundType, v))
}
// OutboundTypeEqualFold applies the EqualFold predicate on the "outbound_type" field.
func OutboundTypeEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldOutboundType, v))
}
// OutboundTypeContainsFold applies the ContainsFold predicate on the "outbound_type" field.
func OutboundTypeContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldOutboundType, v))
}
// OrderNoEQ applies the EQ predicate on the "order_no" field.
func OrderNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOrderNo, v))
}
// OrderNoNEQ applies the NEQ predicate on the "order_no" field.
func OrderNoNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldOrderNo, v))
}
// OrderNoIn applies the In predicate on the "order_no" field.
func OrderNoIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldOrderNo, vs...))
}
// OrderNoNotIn applies the NotIn predicate on the "order_no" field.
func OrderNoNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldOrderNo, vs...))
}
// OrderNoGT applies the GT predicate on the "order_no" field.
func OrderNoGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldOrderNo, v))
}
// OrderNoGTE applies the GTE predicate on the "order_no" field.
func OrderNoGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldOrderNo, v))
}
// OrderNoLT applies the LT predicate on the "order_no" field.
func OrderNoLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldOrderNo, v))
}
// OrderNoLTE applies the LTE predicate on the "order_no" field.
func OrderNoLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldOrderNo, v))
}
// OrderNoContains applies the Contains predicate on the "order_no" field.
func OrderNoContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldOrderNo, v))
}
// OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.
func OrderNoHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldOrderNo, v))
}
// OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.
func OrderNoHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldOrderNo, v))
}
// OrderNoIsNil applies the IsNil predicate on the "order_no" field.
func OrderNoIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldOrderNo))
}
// OrderNoNotNil applies the NotNil predicate on the "order_no" field.
func OrderNoNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldOrderNo))
}
// OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.
func OrderNoEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldOrderNo, v))
}
// OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.
func OrderNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldOrderNo, v))
}
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
func MaterialCodeEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
func MaterialCodeNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldMaterialCode, v))
}
// MaterialCodeIn applies the In predicate on the "material_code" field.
func MaterialCodeIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldMaterialCode, vs...))
}
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
func MaterialCodeNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldMaterialCode, vs...))
}
// MaterialCodeGT applies the GT predicate on the "material_code" field.
func MaterialCodeGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldMaterialCode, v))
}
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
func MaterialCodeGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldMaterialCode, v))
}
// MaterialCodeLT applies the LT predicate on the "material_code" field.
func MaterialCodeLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldMaterialCode, v))
}
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
func MaterialCodeLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldMaterialCode, v))
}
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
func MaterialCodeContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldMaterialCode, v))
}
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
func MaterialCodeHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldMaterialCode, v))
}
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
func MaterialCodeHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldMaterialCode, v))
}
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
func MaterialCodeEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldMaterialCode, v))
}
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
func MaterialCodeContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldMaterialCode, v))
}
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
func MaterialNameEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldMaterialName, v))
}
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
func MaterialNameNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldMaterialName, v))
}
// MaterialNameIn applies the In predicate on the "material_name" field.
func MaterialNameIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldMaterialName, vs...))
}
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
func MaterialNameNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldMaterialName, vs...))
}
// MaterialNameGT applies the GT predicate on the "material_name" field.
func MaterialNameGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldMaterialName, v))
}
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
func MaterialNameGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldMaterialName, v))
}
// MaterialNameLT applies the LT predicate on the "material_name" field.
func MaterialNameLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldMaterialName, v))
}
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
func MaterialNameLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldMaterialName, v))
}
// MaterialNameContains applies the Contains predicate on the "material_name" field.
func MaterialNameContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldMaterialName, v))
}
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
func MaterialNameHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldMaterialName, v))
}
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
func MaterialNameHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldMaterialName, v))
}
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
func MaterialNameIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldMaterialName))
}
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
func MaterialNameNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldMaterialName))
}
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
func MaterialNameEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldMaterialName, v))
}
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
func MaterialNameContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldMaterialName, v))
}
// ManageModeEQ applies the EQ predicate on the "manage_mode" field.
func ManageModeEQ(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldManageMode, v))
}
// ManageModeNEQ applies the NEQ predicate on the "manage_mode" field.
func ManageModeNEQ(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldManageMode, v))
}
// ManageModeIn applies the In predicate on the "manage_mode" field.
func ManageModeIn(vs ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldManageMode, vs...))
}
// ManageModeNotIn applies the NotIn predicate on the "manage_mode" field.
func ManageModeNotIn(vs ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldManageMode, vs...))
}
// ManageModeGT applies the GT predicate on the "manage_mode" field.
func ManageModeGT(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldManageMode, v))
}
// ManageModeGTE applies the GTE predicate on the "manage_mode" field.
func ManageModeGTE(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldManageMode, v))
}
// ManageModeLT applies the LT predicate on the "manage_mode" field.
func ManageModeLT(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldManageMode, v))
}
// ManageModeLTE applies the LTE predicate on the "manage_mode" field.
func ManageModeLTE(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldManageMode, v))
}
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
func BatchNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBatchNo, v))
}
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
func BatchNoNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldBatchNo, v))
}
// BatchNoIn applies the In predicate on the "batch_no" field.
func BatchNoIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldBatchNo, vs...))
}
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
func BatchNoNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldBatchNo, vs...))
}
// BatchNoGT applies the GT predicate on the "batch_no" field.
func BatchNoGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldBatchNo, v))
}
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
func BatchNoGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldBatchNo, v))
}
// BatchNoLT applies the LT predicate on the "batch_no" field.
func BatchNoLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldBatchNo, v))
}
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
func BatchNoLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldBatchNo, v))
}
// BatchNoContains applies the Contains predicate on the "batch_no" field.
func BatchNoContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldBatchNo, v))
}
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
func BatchNoHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldBatchNo, v))
}
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
func BatchNoHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldBatchNo, v))
}
// BatchNoIsNil applies the IsNil predicate on the "batch_no" field.
func BatchNoIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldBatchNo))
}
// BatchNoNotNil applies the NotNil predicate on the "batch_no" field.
func BatchNoNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldBatchNo))
}
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
func BatchNoEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldBatchNo, v))
}
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
func BatchNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldBatchNo, v))
}
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
func ZoneCodeEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
func ZoneCodeNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldZoneCode, v))
}
// ZoneCodeIn applies the In predicate on the "zone_code" field.
func ZoneCodeIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldZoneCode, vs...))
}
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
func ZoneCodeNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldZoneCode, vs...))
}
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
func ZoneCodeGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldZoneCode, v))
}
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
func ZoneCodeGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldZoneCode, v))
}
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
func ZoneCodeLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldZoneCode, v))
}
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
func ZoneCodeLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldZoneCode, v))
}
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
func ZoneCodeContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldZoneCode, v))
}
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
func ZoneCodeHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldZoneCode, v))
}
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
func ZoneCodeHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldZoneCode, v))
}
// ZoneCodeIsNil applies the IsNil predicate on the "zone_code" field.
func ZoneCodeIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldZoneCode))
}
// ZoneCodeNotNil applies the NotNil predicate on the "zone_code" field.
func ZoneCodeNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldZoneCode))
}
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
func ZoneCodeEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldZoneCode, v))
}
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
func ZoneCodeContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldZoneCode, v))
}
// QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityEQ(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldQuantity, v))
}
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNEQ(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldQuantity, v))
}
// QuantityIn applies the In predicate on the "quantity" field.
func QuantityIn(vs ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldQuantity, vs...))
}
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
func QuantityNotIn(vs ...int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldQuantity, vs...))
}
// QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGT(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldQuantity, v))
}
// QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityGTE(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldQuantity, v))
}
// QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLT(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldQuantity, v))
}
// QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityLTE(v int) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldQuantity, v))
}
// OperatorEQ applies the EQ predicate on the "operator" field.
func OperatorEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldOperator, v))
}
// OperatorNEQ applies the NEQ predicate on the "operator" field.
func OperatorNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldOperator, v))
}
// OperatorIn applies the In predicate on the "operator" field.
func OperatorIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldOperator, vs...))
}
// OperatorNotIn applies the NotIn predicate on the "operator" field.
func OperatorNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldOperator, vs...))
}
// OperatorGT applies the GT predicate on the "operator" field.
func OperatorGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldOperator, v))
}
// OperatorGTE applies the GTE predicate on the "operator" field.
func OperatorGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldOperator, v))
}
// OperatorLT applies the LT predicate on the "operator" field.
func OperatorLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldOperator, v))
}
// OperatorLTE applies the LTE predicate on the "operator" field.
func OperatorLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldOperator, v))
}
// OperatorContains applies the Contains predicate on the "operator" field.
func OperatorContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldOperator, v))
}
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
func OperatorHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldOperator, v))
}
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
func OperatorHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldOperator, v))
}
// OperatorIsNil applies the IsNil predicate on the "operator" field.
func OperatorIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldOperator))
}
// OperatorNotNil applies the NotNil predicate on the "operator" field.
func OperatorNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldOperator))
}
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
func OperatorEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldOperator, v))
}
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
func OperatorContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldOperator, v))
}
// ReviewerEQ applies the EQ predicate on the "reviewer" field.
func ReviewerEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldReviewer, v))
}
// ReviewerNEQ applies the NEQ predicate on the "reviewer" field.
func ReviewerNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldReviewer, v))
}
// ReviewerIn applies the In predicate on the "reviewer" field.
func ReviewerIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldReviewer, vs...))
}
// ReviewerNotIn applies the NotIn predicate on the "reviewer" field.
func ReviewerNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldReviewer, vs...))
}
// ReviewerGT applies the GT predicate on the "reviewer" field.
func ReviewerGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldReviewer, v))
}
// ReviewerGTE applies the GTE predicate on the "reviewer" field.
func ReviewerGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldReviewer, v))
}
// ReviewerLT applies the LT predicate on the "reviewer" field.
func ReviewerLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldReviewer, v))
}
// ReviewerLTE applies the LTE predicate on the "reviewer" field.
func ReviewerLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldReviewer, v))
}
// ReviewerContains applies the Contains predicate on the "reviewer" field.
func ReviewerContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldReviewer, v))
}
// ReviewerHasPrefix applies the HasPrefix predicate on the "reviewer" field.
func ReviewerHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldReviewer, v))
}
// ReviewerHasSuffix applies the HasSuffix predicate on the "reviewer" field.
func ReviewerHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldReviewer, v))
}
// ReviewerIsNil applies the IsNil predicate on the "reviewer" field.
func ReviewerIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldReviewer))
}
// ReviewerNotNil applies the NotNil predicate on the "reviewer" field.
func ReviewerNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldReviewer))
}
// ReviewerEqualFold applies the EqualFold predicate on the "reviewer" field.
func ReviewerEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldReviewer, v))
}
// ReviewerContainsFold applies the ContainsFold predicate on the "reviewer" field.
func ReviewerContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldReviewer, v))
}
// TargetDockEQ applies the EQ predicate on the "target_dock" field.
func TargetDockEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldTargetDock, v))
}
// TargetDockNEQ applies the NEQ predicate on the "target_dock" field.
func TargetDockNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldTargetDock, v))
}
// TargetDockIn applies the In predicate on the "target_dock" field.
func TargetDockIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldTargetDock, vs...))
}
// TargetDockNotIn applies the NotIn predicate on the "target_dock" field.
func TargetDockNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldTargetDock, vs...))
}
// TargetDockGT applies the GT predicate on the "target_dock" field.
func TargetDockGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldTargetDock, v))
}
// TargetDockGTE applies the GTE predicate on the "target_dock" field.
func TargetDockGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldTargetDock, v))
}
// TargetDockLT applies the LT predicate on the "target_dock" field.
func TargetDockLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldTargetDock, v))
}
// TargetDockLTE applies the LTE predicate on the "target_dock" field.
func TargetDockLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldTargetDock, v))
}
// TargetDockContains applies the Contains predicate on the "target_dock" field.
func TargetDockContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldTargetDock, v))
}
// TargetDockHasPrefix applies the HasPrefix predicate on the "target_dock" field.
func TargetDockHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldTargetDock, v))
}
// TargetDockHasSuffix applies the HasSuffix predicate on the "target_dock" field.
func TargetDockHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldTargetDock, v))
}
// TargetDockIsNil applies the IsNil predicate on the "target_dock" field.
func TargetDockIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldTargetDock))
}
// TargetDockNotNil applies the NotNil predicate on the "target_dock" field.
func TargetDockNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldTargetDock))
}
// TargetDockEqualFold applies the EqualFold predicate on the "target_dock" field.
func TargetDockEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldTargetDock, v))
}
// TargetDockContainsFold applies the ContainsFold predicate on the "target_dock" field.
func TargetDockContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldTargetDock, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldRemark, v))
}
// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldRemark, v))
}
// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldRemark, vs...))
}
// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldRemark, vs...))
}
// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldRemark, v))
}
// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldRemark, v))
}
// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldRemark, v))
}
// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldRemark, v))
}
// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldRemark, v))
}
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldRemark, v))
}
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldRemark, v))
}
// RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldRemark))
}
// RemarkNotNil applies the NotNil predicate on the "remark" field.
func RemarkNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldRemark))
}
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldRemark, v))
}
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldRemark, v))
}
// BoxNoEQ applies the EQ predicate on the "box_no" field.
func BoxNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBoxNo, v))
}
// BoxNoNEQ applies the NEQ predicate on the "box_no" field.
func BoxNoNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldBoxNo, v))
}
// BoxNoIn applies the In predicate on the "box_no" field.
func BoxNoIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldBoxNo, vs...))
}
// BoxNoNotIn applies the NotIn predicate on the "box_no" field.
func BoxNoNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldBoxNo, vs...))
}
// BoxNoGT applies the GT predicate on the "box_no" field.
func BoxNoGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldBoxNo, v))
}
// BoxNoGTE applies the GTE predicate on the "box_no" field.
func BoxNoGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldBoxNo, v))
}
// BoxNoLT applies the LT predicate on the "box_no" field.
func BoxNoLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldBoxNo, v))
}
// BoxNoLTE applies the LTE predicate on the "box_no" field.
func BoxNoLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldBoxNo, v))
}
// BoxNoContains applies the Contains predicate on the "box_no" field.
func BoxNoContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldBoxNo, v))
}
// BoxNoHasPrefix applies the HasPrefix predicate on the "box_no" field.
func BoxNoHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldBoxNo, v))
}
// BoxNoHasSuffix applies the HasSuffix predicate on the "box_no" field.
func BoxNoHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldBoxNo, v))
}
// BoxNoIsNil applies the IsNil predicate on the "box_no" field.
func BoxNoIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldBoxNo))
}
// BoxNoNotNil applies the NotNil predicate on the "box_no" field.
func BoxNoNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldBoxNo))
}
// BoxNoEqualFold applies the EqualFold predicate on the "box_no" field.
func BoxNoEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldBoxNo, v))
}
// BoxNoContainsFold applies the ContainsFold predicate on the "box_no" field.
func BoxNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldBoxNo, v))
}
// BoxSnListEQ applies the EQ predicate on the "box_sn_list" field.
func BoxSnListEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldBoxSnList, v))
}
// BoxSnListNEQ applies the NEQ predicate on the "box_sn_list" field.
func BoxSnListNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldBoxSnList, v))
}
// BoxSnListIn applies the In predicate on the "box_sn_list" field.
func BoxSnListIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldBoxSnList, vs...))
}
// BoxSnListNotIn applies the NotIn predicate on the "box_sn_list" field.
func BoxSnListNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldBoxSnList, vs...))
}
// BoxSnListGT applies the GT predicate on the "box_sn_list" field.
func BoxSnListGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldBoxSnList, v))
}
// BoxSnListGTE applies the GTE predicate on the "box_sn_list" field.
func BoxSnListGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldBoxSnList, v))
}
// BoxSnListLT applies the LT predicate on the "box_sn_list" field.
func BoxSnListLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldBoxSnList, v))
}
// BoxSnListLTE applies the LTE predicate on the "box_sn_list" field.
func BoxSnListLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldBoxSnList, v))
}
// BoxSnListContains applies the Contains predicate on the "box_sn_list" field.
func BoxSnListContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldBoxSnList, v))
}
// BoxSnListHasPrefix applies the HasPrefix predicate on the "box_sn_list" field.
func BoxSnListHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldBoxSnList, v))
}
// BoxSnListHasSuffix applies the HasSuffix predicate on the "box_sn_list" field.
func BoxSnListHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldBoxSnList, v))
}
// BoxSnListIsNil applies the IsNil predicate on the "box_sn_list" field.
func BoxSnListIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldBoxSnList))
}
// BoxSnListNotNil applies the NotNil predicate on the "box_sn_list" field.
func BoxSnListNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldBoxSnList))
}
// BoxSnListEqualFold applies the EqualFold predicate on the "box_sn_list" field.
func BoxSnListEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldBoxSnList, v))
}
// BoxSnListContainsFold applies the ContainsFold predicate on the "box_sn_list" field.
func BoxSnListContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldBoxSnList, v))
}
// ContractNoEQ applies the EQ predicate on the "contract_no" field.
func ContractNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldContractNo, v))
}
// ContractNoNEQ applies the NEQ predicate on the "contract_no" field.
func ContractNoNEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldContractNo, v))
}
// ContractNoIn applies the In predicate on the "contract_no" field.
func ContractNoIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldContractNo, vs...))
}
// ContractNoNotIn applies the NotIn predicate on the "contract_no" field.
func ContractNoNotIn(vs ...string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldContractNo, vs...))
}
// ContractNoGT applies the GT predicate on the "contract_no" field.
func ContractNoGT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldContractNo, v))
}
// ContractNoGTE applies the GTE predicate on the "contract_no" field.
func ContractNoGTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldContractNo, v))
}
// ContractNoLT applies the LT predicate on the "contract_no" field.
func ContractNoLT(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldContractNo, v))
}
// ContractNoLTE applies the LTE predicate on the "contract_no" field.
func ContractNoLTE(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldContractNo, v))
}
// ContractNoContains applies the Contains predicate on the "contract_no" field.
func ContractNoContains(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContains(FieldContractNo, v))
}
// ContractNoHasPrefix applies the HasPrefix predicate on the "contract_no" field.
func ContractNoHasPrefix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasPrefix(FieldContractNo, v))
}
// ContractNoHasSuffix applies the HasSuffix predicate on the "contract_no" field.
func ContractNoHasSuffix(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldHasSuffix(FieldContractNo, v))
}
// ContractNoIsNil applies the IsNil predicate on the "contract_no" field.
func ContractNoIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldContractNo))
}
// ContractNoNotNil applies the NotNil predicate on the "contract_no" field.
func ContractNoNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldContractNo))
}
// ContractNoEqualFold applies the EqualFold predicate on the "contract_no" field.
func ContractNoEqualFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEqualFold(FieldContractNo, v))
}
// ContractNoContainsFold applies the ContainsFold predicate on the "contract_no" field.
func ContractNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldContractNo, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v int64) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldLTE(FieldCreatedAt, v))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.OutboundOrder) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.OutboundOrder) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.OutboundOrder) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.NotPredicates(p))
}