新增扫码中间件支持网络型扫码枪键盘注入,AGV 对接从 WMS 迁至 MES 统一管理;新增拧紧不合格人工处置与 PLC 对账机制,优化退库单关联与工位终端功能,同时清理旧 AGV 任务表,完善数据库与配置项。
1266 lines
50 KiB
Go
1266 lines
50 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package materialrequest
|
|
|
|
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.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// RequestNo applies equality check predicate on the "requestNo" field. It's identical to RequestNoEQ.
|
|
func RequestNo(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRequestNo, v))
|
|
}
|
|
|
|
// MaterialCode applies equality check predicate on the "materialCode" field. It's identical to MaterialCodeEQ.
|
|
func MaterialCode(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialName applies equality check predicate on the "materialName" field. It's identical to MaterialNameEQ.
|
|
func MaterialName(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// Unit applies equality check predicate on the "unit" field. It's identical to UnitEQ.
|
|
func Unit(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldUnit, v))
|
|
}
|
|
|
|
// SnMode applies equality check predicate on the "snMode" field. It's identical to SnModeEQ.
|
|
func SnMode(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSnMode, v))
|
|
}
|
|
|
|
// ReqQty applies equality check predicate on the "reqQty" field. It's identical to ReqQtyEQ.
|
|
func ReqQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReqQty, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// TargetDock applies equality check predicate on the "targetDock" field. It's identical to TargetDockEQ.
|
|
func TargetDock(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldTargetDock, v))
|
|
}
|
|
|
|
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
|
func StationNo(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// SentQty applies equality check predicate on the "sentQty" field. It's identical to SentQtyEQ.
|
|
func SentQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSentQty, v))
|
|
}
|
|
|
|
// ReturnedQty applies equality check predicate on the "returnedQty" field. It's identical to ReturnedQtyEQ.
|
|
func ReturnedQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReturnedQty, v))
|
|
}
|
|
|
|
// Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
|
|
func Source(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSource, v))
|
|
}
|
|
|
|
// RefReportNo applies equality check predicate on the "refReportNo" field. It's identical to RefReportNoEQ.
|
|
func RefReportNo(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRefReportNo, v))
|
|
}
|
|
|
|
// NeedAgv applies equality check predicate on the "needAgv" field. It's identical to NeedAgvEQ.
|
|
func NeedAgv(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldNeedAgv, v))
|
|
}
|
|
|
|
// AgvTaskNo applies equality check predicate on the "agvTaskNo" field. It's identical to AgvTaskNoEQ.
|
|
func AgvTaskNo(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// CrossDay applies equality check predicate on the "crossDay" field. It's identical to CrossDayEQ.
|
|
func CrossDay(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldCrossDay, v))
|
|
}
|
|
|
|
// OutboundNo applies equality check predicate on the "outboundNo" field. It's identical to OutboundNoEQ.
|
|
func OutboundNo(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldOutboundNo, v))
|
|
}
|
|
|
|
// RejectReason applies equality check predicate on the "rejectReason" field. It's identical to RejectReasonEQ.
|
|
func RejectReason(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRejectReason, v))
|
|
}
|
|
|
|
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
|
func Operator(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldOperator, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAt applies equality check predicate on the "updatedAt" field. It's identical to UpdatedAtEQ.
|
|
func UpdatedAt(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// RequestNoEQ applies the EQ predicate on the "requestNo" field.
|
|
func RequestNoEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoNEQ applies the NEQ predicate on the "requestNo" field.
|
|
func RequestNoNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoIn applies the In predicate on the "requestNo" field.
|
|
func RequestNoIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldRequestNo, vs...))
|
|
}
|
|
|
|
// RequestNoNotIn applies the NotIn predicate on the "requestNo" field.
|
|
func RequestNoNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldRequestNo, vs...))
|
|
}
|
|
|
|
// RequestNoGT applies the GT predicate on the "requestNo" field.
|
|
func RequestNoGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoGTE applies the GTE predicate on the "requestNo" field.
|
|
func RequestNoGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoLT applies the LT predicate on the "requestNo" field.
|
|
func RequestNoLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoLTE applies the LTE predicate on the "requestNo" field.
|
|
func RequestNoLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoContains applies the Contains predicate on the "requestNo" field.
|
|
func RequestNoContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoHasPrefix applies the HasPrefix predicate on the "requestNo" field.
|
|
func RequestNoHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoHasSuffix applies the HasSuffix predicate on the "requestNo" field.
|
|
func RequestNoHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoEqualFold applies the EqualFold predicate on the "requestNo" field.
|
|
func RequestNoEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldRequestNo, v))
|
|
}
|
|
|
|
// RequestNoContainsFold applies the ContainsFold predicate on the "requestNo" field.
|
|
func RequestNoContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldRequestNo, v))
|
|
}
|
|
|
|
// MaterialCodeEQ applies the EQ predicate on the "materialCode" field.
|
|
func MaterialCodeEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeNEQ applies the NEQ predicate on the "materialCode" field.
|
|
func MaterialCodeNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeIn applies the In predicate on the "materialCode" field.
|
|
func MaterialCodeIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeNotIn applies the NotIn predicate on the "materialCode" field.
|
|
func MaterialCodeNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeGT applies the GT predicate on the "materialCode" field.
|
|
func MaterialCodeGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeGTE applies the GTE predicate on the "materialCode" field.
|
|
func MaterialCodeGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLT applies the LT predicate on the "materialCode" field.
|
|
func MaterialCodeLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLTE applies the LTE predicate on the "materialCode" field.
|
|
func MaterialCodeLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContains applies the Contains predicate on the "materialCode" field.
|
|
func MaterialCodeContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "materialCode" field.
|
|
func MaterialCodeHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "materialCode" field.
|
|
func MaterialCodeHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeEqualFold applies the EqualFold predicate on the "materialCode" field.
|
|
func MaterialCodeEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContainsFold applies the ContainsFold predicate on the "materialCode" field.
|
|
func MaterialCodeContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialNameEQ applies the EQ predicate on the "materialName" field.
|
|
func MaterialNameEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameNEQ applies the NEQ predicate on the "materialName" field.
|
|
func MaterialNameNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameIn applies the In predicate on the "materialName" field.
|
|
func MaterialNameIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameNotIn applies the NotIn predicate on the "materialName" field.
|
|
func MaterialNameNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameGT applies the GT predicate on the "materialName" field.
|
|
func MaterialNameGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameGTE applies the GTE predicate on the "materialName" field.
|
|
func MaterialNameGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLT applies the LT predicate on the "materialName" field.
|
|
func MaterialNameLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLTE applies the LTE predicate on the "materialName" field.
|
|
func MaterialNameLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContains applies the Contains predicate on the "materialName" field.
|
|
func MaterialNameContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasPrefix applies the HasPrefix predicate on the "materialName" field.
|
|
func MaterialNameHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasSuffix applies the HasSuffix predicate on the "materialName" field.
|
|
func MaterialNameHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameEqualFold applies the EqualFold predicate on the "materialName" field.
|
|
func MaterialNameEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContainsFold applies the ContainsFold predicate on the "materialName" field.
|
|
func MaterialNameContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// UnitEQ applies the EQ predicate on the "unit" field.
|
|
func UnitEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldUnit, v))
|
|
}
|
|
|
|
// UnitNEQ applies the NEQ predicate on the "unit" field.
|
|
func UnitNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldUnit, v))
|
|
}
|
|
|
|
// UnitIn applies the In predicate on the "unit" field.
|
|
func UnitIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldUnit, vs...))
|
|
}
|
|
|
|
// UnitNotIn applies the NotIn predicate on the "unit" field.
|
|
func UnitNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldUnit, vs...))
|
|
}
|
|
|
|
// UnitGT applies the GT predicate on the "unit" field.
|
|
func UnitGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldUnit, v))
|
|
}
|
|
|
|
// UnitGTE applies the GTE predicate on the "unit" field.
|
|
func UnitGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldUnit, v))
|
|
}
|
|
|
|
// UnitLT applies the LT predicate on the "unit" field.
|
|
func UnitLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldUnit, v))
|
|
}
|
|
|
|
// UnitLTE applies the LTE predicate on the "unit" field.
|
|
func UnitLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldUnit, v))
|
|
}
|
|
|
|
// UnitContains applies the Contains predicate on the "unit" field.
|
|
func UnitContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldUnit, v))
|
|
}
|
|
|
|
// UnitHasPrefix applies the HasPrefix predicate on the "unit" field.
|
|
func UnitHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldUnit, v))
|
|
}
|
|
|
|
// UnitHasSuffix applies the HasSuffix predicate on the "unit" field.
|
|
func UnitHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldUnit, v))
|
|
}
|
|
|
|
// UnitEqualFold applies the EqualFold predicate on the "unit" field.
|
|
func UnitEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldUnit, v))
|
|
}
|
|
|
|
// UnitContainsFold applies the ContainsFold predicate on the "unit" field.
|
|
func UnitContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldUnit, v))
|
|
}
|
|
|
|
// SnModeEQ applies the EQ predicate on the "snMode" field.
|
|
func SnModeEQ(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSnMode, v))
|
|
}
|
|
|
|
// SnModeNEQ applies the NEQ predicate on the "snMode" field.
|
|
func SnModeNEQ(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldSnMode, v))
|
|
}
|
|
|
|
// SnModeIn applies the In predicate on the "snMode" field.
|
|
func SnModeIn(vs ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldSnMode, vs...))
|
|
}
|
|
|
|
// SnModeNotIn applies the NotIn predicate on the "snMode" field.
|
|
func SnModeNotIn(vs ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldSnMode, vs...))
|
|
}
|
|
|
|
// SnModeGT applies the GT predicate on the "snMode" field.
|
|
func SnModeGT(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldSnMode, v))
|
|
}
|
|
|
|
// SnModeGTE applies the GTE predicate on the "snMode" field.
|
|
func SnModeGTE(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldSnMode, v))
|
|
}
|
|
|
|
// SnModeLT applies the LT predicate on the "snMode" field.
|
|
func SnModeLT(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldSnMode, v))
|
|
}
|
|
|
|
// SnModeLTE applies the LTE predicate on the "snMode" field.
|
|
func SnModeLTE(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldSnMode, v))
|
|
}
|
|
|
|
// ReqQtyEQ applies the EQ predicate on the "reqQty" field.
|
|
func ReqQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReqQty, v))
|
|
}
|
|
|
|
// ReqQtyNEQ applies the NEQ predicate on the "reqQty" field.
|
|
func ReqQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReqQty, v))
|
|
}
|
|
|
|
// ReqQtyIn applies the In predicate on the "reqQty" field.
|
|
func ReqQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReqQty, vs...))
|
|
}
|
|
|
|
// ReqQtyNotIn applies the NotIn predicate on the "reqQty" field.
|
|
func ReqQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReqQty, vs...))
|
|
}
|
|
|
|
// ReqQtyGT applies the GT predicate on the "reqQty" field.
|
|
func ReqQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReqQty, v))
|
|
}
|
|
|
|
// ReqQtyGTE applies the GTE predicate on the "reqQty" field.
|
|
func ReqQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReqQty, v))
|
|
}
|
|
|
|
// ReqQtyLT applies the LT predicate on the "reqQty" field.
|
|
func ReqQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReqQty, v))
|
|
}
|
|
|
|
// ReqQtyLTE applies the LTE predicate on the "reqQty" field.
|
|
func ReqQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReqQty, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// TargetDockEQ applies the EQ predicate on the "targetDock" field.
|
|
func TargetDockEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockNEQ applies the NEQ predicate on the "targetDock" field.
|
|
func TargetDockNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockIn applies the In predicate on the "targetDock" field.
|
|
func TargetDockIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldTargetDock, vs...))
|
|
}
|
|
|
|
// TargetDockNotIn applies the NotIn predicate on the "targetDock" field.
|
|
func TargetDockNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldTargetDock, vs...))
|
|
}
|
|
|
|
// TargetDockGT applies the GT predicate on the "targetDock" field.
|
|
func TargetDockGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockGTE applies the GTE predicate on the "targetDock" field.
|
|
func TargetDockGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockLT applies the LT predicate on the "targetDock" field.
|
|
func TargetDockLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockLTE applies the LTE predicate on the "targetDock" field.
|
|
func TargetDockLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockContains applies the Contains predicate on the "targetDock" field.
|
|
func TargetDockContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockHasPrefix applies the HasPrefix predicate on the "targetDock" field.
|
|
func TargetDockHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockHasSuffix applies the HasSuffix predicate on the "targetDock" field.
|
|
func TargetDockHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockEqualFold applies the EqualFold predicate on the "targetDock" field.
|
|
func TargetDockEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldTargetDock, v))
|
|
}
|
|
|
|
// TargetDockContainsFold applies the ContainsFold predicate on the "targetDock" field.
|
|
func TargetDockContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldTargetDock, v))
|
|
}
|
|
|
|
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
|
func StationNoEQ(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
|
func StationNoNEQ(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoIn applies the In predicate on the "stationNo" field.
|
|
func StationNoIn(vs ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
|
func StationNoNotIn(vs ...int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoGT applies the GT predicate on the "stationNo" field.
|
|
func StationNoGT(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
|
func StationNoGTE(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLT applies the LT predicate on the "stationNo" field.
|
|
func StationNoLT(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
|
func StationNoLTE(v int) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldStationNo, v))
|
|
}
|
|
|
|
// SentQtyEQ applies the EQ predicate on the "sentQty" field.
|
|
func SentQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSentQty, v))
|
|
}
|
|
|
|
// SentQtyNEQ applies the NEQ predicate on the "sentQty" field.
|
|
func SentQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldSentQty, v))
|
|
}
|
|
|
|
// SentQtyIn applies the In predicate on the "sentQty" field.
|
|
func SentQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldSentQty, vs...))
|
|
}
|
|
|
|
// SentQtyNotIn applies the NotIn predicate on the "sentQty" field.
|
|
func SentQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldSentQty, vs...))
|
|
}
|
|
|
|
// SentQtyGT applies the GT predicate on the "sentQty" field.
|
|
func SentQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldSentQty, v))
|
|
}
|
|
|
|
// SentQtyGTE applies the GTE predicate on the "sentQty" field.
|
|
func SentQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldSentQty, v))
|
|
}
|
|
|
|
// SentQtyLT applies the LT predicate on the "sentQty" field.
|
|
func SentQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldSentQty, v))
|
|
}
|
|
|
|
// SentQtyLTE applies the LTE predicate on the "sentQty" field.
|
|
func SentQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldSentQty, v))
|
|
}
|
|
|
|
// ReturnedQtyEQ applies the EQ predicate on the "returnedQty" field.
|
|
func ReturnedQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReturnedQty, v))
|
|
}
|
|
|
|
// ReturnedQtyNEQ applies the NEQ predicate on the "returnedQty" field.
|
|
func ReturnedQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReturnedQty, v))
|
|
}
|
|
|
|
// ReturnedQtyIn applies the In predicate on the "returnedQty" field.
|
|
func ReturnedQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReturnedQty, vs...))
|
|
}
|
|
|
|
// ReturnedQtyNotIn applies the NotIn predicate on the "returnedQty" field.
|
|
func ReturnedQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReturnedQty, vs...))
|
|
}
|
|
|
|
// ReturnedQtyGT applies the GT predicate on the "returnedQty" field.
|
|
func ReturnedQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReturnedQty, v))
|
|
}
|
|
|
|
// ReturnedQtyGTE applies the GTE predicate on the "returnedQty" field.
|
|
func ReturnedQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReturnedQty, v))
|
|
}
|
|
|
|
// ReturnedQtyLT applies the LT predicate on the "returnedQty" field.
|
|
func ReturnedQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReturnedQty, v))
|
|
}
|
|
|
|
// ReturnedQtyLTE applies the LTE predicate on the "returnedQty" field.
|
|
func ReturnedQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReturnedQty, v))
|
|
}
|
|
|
|
// SourceEQ applies the EQ predicate on the "source" field.
|
|
func SourceEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldSource, v))
|
|
}
|
|
|
|
// SourceNEQ applies the NEQ predicate on the "source" field.
|
|
func SourceNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldSource, v))
|
|
}
|
|
|
|
// SourceIn applies the In predicate on the "source" field.
|
|
func SourceIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldSource, vs...))
|
|
}
|
|
|
|
// SourceNotIn applies the NotIn predicate on the "source" field.
|
|
func SourceNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldSource, vs...))
|
|
}
|
|
|
|
// SourceGT applies the GT predicate on the "source" field.
|
|
func SourceGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldSource, v))
|
|
}
|
|
|
|
// SourceGTE applies the GTE predicate on the "source" field.
|
|
func SourceGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldSource, v))
|
|
}
|
|
|
|
// SourceLT applies the LT predicate on the "source" field.
|
|
func SourceLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldSource, v))
|
|
}
|
|
|
|
// SourceLTE applies the LTE predicate on the "source" field.
|
|
func SourceLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldSource, v))
|
|
}
|
|
|
|
// SourceContains applies the Contains predicate on the "source" field.
|
|
func SourceContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldSource, v))
|
|
}
|
|
|
|
// SourceHasPrefix applies the HasPrefix predicate on the "source" field.
|
|
func SourceHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldSource, v))
|
|
}
|
|
|
|
// SourceHasSuffix applies the HasSuffix predicate on the "source" field.
|
|
func SourceHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldSource, v))
|
|
}
|
|
|
|
// SourceEqualFold applies the EqualFold predicate on the "source" field.
|
|
func SourceEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldSource, v))
|
|
}
|
|
|
|
// SourceContainsFold applies the ContainsFold predicate on the "source" field.
|
|
func SourceContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldSource, v))
|
|
}
|
|
|
|
// RefReportNoEQ applies the EQ predicate on the "refReportNo" field.
|
|
func RefReportNoEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoNEQ applies the NEQ predicate on the "refReportNo" field.
|
|
func RefReportNoNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoIn applies the In predicate on the "refReportNo" field.
|
|
func RefReportNoIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldRefReportNo, vs...))
|
|
}
|
|
|
|
// RefReportNoNotIn applies the NotIn predicate on the "refReportNo" field.
|
|
func RefReportNoNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldRefReportNo, vs...))
|
|
}
|
|
|
|
// RefReportNoGT applies the GT predicate on the "refReportNo" field.
|
|
func RefReportNoGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoGTE applies the GTE predicate on the "refReportNo" field.
|
|
func RefReportNoGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoLT applies the LT predicate on the "refReportNo" field.
|
|
func RefReportNoLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoLTE applies the LTE predicate on the "refReportNo" field.
|
|
func RefReportNoLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoContains applies the Contains predicate on the "refReportNo" field.
|
|
func RefReportNoContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoHasPrefix applies the HasPrefix predicate on the "refReportNo" field.
|
|
func RefReportNoHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoHasSuffix applies the HasSuffix predicate on the "refReportNo" field.
|
|
func RefReportNoHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoEqualFold applies the EqualFold predicate on the "refReportNo" field.
|
|
func RefReportNoEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldRefReportNo, v))
|
|
}
|
|
|
|
// RefReportNoContainsFold applies the ContainsFold predicate on the "refReportNo" field.
|
|
func RefReportNoContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldRefReportNo, v))
|
|
}
|
|
|
|
// NeedAgvEQ applies the EQ predicate on the "needAgv" field.
|
|
func NeedAgvEQ(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldNeedAgv, v))
|
|
}
|
|
|
|
// NeedAgvNEQ applies the NEQ predicate on the "needAgv" field.
|
|
func NeedAgvNEQ(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldNeedAgv, v))
|
|
}
|
|
|
|
// AgvTaskNoEQ applies the EQ predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoNEQ applies the NEQ predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoIn applies the In predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldAgvTaskNo, vs...))
|
|
}
|
|
|
|
// AgvTaskNoNotIn applies the NotIn predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldAgvTaskNo, vs...))
|
|
}
|
|
|
|
// AgvTaskNoGT applies the GT predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoGTE applies the GTE predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoLT applies the LT predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoLTE applies the LTE predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoContains applies the Contains predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoHasPrefix applies the HasPrefix predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoHasSuffix applies the HasSuffix predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoEqualFold applies the EqualFold predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// AgvTaskNoContainsFold applies the ContainsFold predicate on the "agvTaskNo" field.
|
|
func AgvTaskNoContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldAgvTaskNo, v))
|
|
}
|
|
|
|
// CrossDayEQ applies the EQ predicate on the "crossDay" field.
|
|
func CrossDayEQ(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldCrossDay, v))
|
|
}
|
|
|
|
// CrossDayNEQ applies the NEQ predicate on the "crossDay" field.
|
|
func CrossDayNEQ(v bool) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldCrossDay, v))
|
|
}
|
|
|
|
// OutboundNoEQ applies the EQ predicate on the "outboundNo" field.
|
|
func OutboundNoEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoNEQ applies the NEQ predicate on the "outboundNo" field.
|
|
func OutboundNoNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoIn applies the In predicate on the "outboundNo" field.
|
|
func OutboundNoIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldOutboundNo, vs...))
|
|
}
|
|
|
|
// OutboundNoNotIn applies the NotIn predicate on the "outboundNo" field.
|
|
func OutboundNoNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldOutboundNo, vs...))
|
|
}
|
|
|
|
// OutboundNoGT applies the GT predicate on the "outboundNo" field.
|
|
func OutboundNoGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoGTE applies the GTE predicate on the "outboundNo" field.
|
|
func OutboundNoGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoLT applies the LT predicate on the "outboundNo" field.
|
|
func OutboundNoLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoLTE applies the LTE predicate on the "outboundNo" field.
|
|
func OutboundNoLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoContains applies the Contains predicate on the "outboundNo" field.
|
|
func OutboundNoContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoHasPrefix applies the HasPrefix predicate on the "outboundNo" field.
|
|
func OutboundNoHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoHasSuffix applies the HasSuffix predicate on the "outboundNo" field.
|
|
func OutboundNoHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoEqualFold applies the EqualFold predicate on the "outboundNo" field.
|
|
func OutboundNoEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldOutboundNo, v))
|
|
}
|
|
|
|
// OutboundNoContainsFold applies the ContainsFold predicate on the "outboundNo" field.
|
|
func OutboundNoContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldOutboundNo, v))
|
|
}
|
|
|
|
// RejectReasonEQ applies the EQ predicate on the "rejectReason" field.
|
|
func RejectReasonEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonNEQ applies the NEQ predicate on the "rejectReason" field.
|
|
func RejectReasonNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonIn applies the In predicate on the "rejectReason" field.
|
|
func RejectReasonIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldRejectReason, vs...))
|
|
}
|
|
|
|
// RejectReasonNotIn applies the NotIn predicate on the "rejectReason" field.
|
|
func RejectReasonNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldRejectReason, vs...))
|
|
}
|
|
|
|
// RejectReasonGT applies the GT predicate on the "rejectReason" field.
|
|
func RejectReasonGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonGTE applies the GTE predicate on the "rejectReason" field.
|
|
func RejectReasonGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonLT applies the LT predicate on the "rejectReason" field.
|
|
func RejectReasonLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonLTE applies the LTE predicate on the "rejectReason" field.
|
|
func RejectReasonLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonContains applies the Contains predicate on the "rejectReason" field.
|
|
func RejectReasonContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonHasPrefix applies the HasPrefix predicate on the "rejectReason" field.
|
|
func RejectReasonHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonHasSuffix applies the HasSuffix predicate on the "rejectReason" field.
|
|
func RejectReasonHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonEqualFold applies the EqualFold predicate on the "rejectReason" field.
|
|
func RejectReasonEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldRejectReason, v))
|
|
}
|
|
|
|
// RejectReasonContainsFold applies the ContainsFold predicate on the "rejectReason" field.
|
|
func RejectReasonContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldRejectReason, v))
|
|
}
|
|
|
|
// OperatorEQ applies the EQ predicate on the "operator" field.
|
|
func OperatorEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
|
func OperatorNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorIn applies the In predicate on the "operator" field.
|
|
func OperatorIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldOperator, vs...))
|
|
}
|
|
|
|
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
|
func OperatorNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldOperator, vs...))
|
|
}
|
|
|
|
// OperatorGT applies the GT predicate on the "operator" field.
|
|
func OperatorGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorGTE applies the GTE predicate on the "operator" field.
|
|
func OperatorGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorLT applies the LT predicate on the "operator" field.
|
|
func OperatorLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorLTE applies the LTE predicate on the "operator" field.
|
|
func OperatorLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorContains applies the Contains predicate on the "operator" field.
|
|
func OperatorContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
|
func OperatorHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
|
func OperatorHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
|
func OperatorEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
|
func OperatorContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldOperator, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
|
func CreatedAtEQ(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
|
func CreatedAtGT(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
|
func CreatedAtGTE(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
|
func CreatedAtLT(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
|
func CreatedAtLTE(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updatedAt" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updatedAt" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updatedAt" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updatedAt" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updatedAt" field.
|
|
func UpdatedAtGT(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updatedAt" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updatedAt" field.
|
|
func UpdatedAtLT(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updatedAt" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIsNil applies the IsNil predicate on the "updatedAt" field.
|
|
func UpdatedAtIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldUpdatedAt))
|
|
}
|
|
|
|
// UpdatedAtNotNil applies the NotNil predicate on the "updatedAt" field.
|
|
func UpdatedAtNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldUpdatedAt))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.MaterialRequest) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.MaterialRequest) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.MaterialRequest) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.NotPredicates(p))
|
|
}
|