- MES 新增损耗台账 loss_ledger,差异确认损耗接口 ConfirmReceiveLoss(按工单归集) - 备料清单 preparation:MES 按 日计划×工单×工位×物料 实时计算,WMS 只读展示 PreparationList - 退料闭环:N5 工位托盘守卫(未完成禁止退料)、退料 AGV 自动派车(JBT21 空位判定 + 托盘回收链路)、退料参考剩余量接口(应剩余=实备-已耗-已退-已损) - 新增 AGV 车辆状态表 agv_vehicle_state 及查询 - 整合接驳台/叫料池/库存锁既有闭环,清理 sql 目录注释生成脚本与 catalog,更新文档
1776 lines
70 KiB
Go
1776 lines
70 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))
|
|
}
|
|
|
|
// WorkOrderNo applies equality check predicate on the "workOrderNo" field. It's identical to WorkOrderNoEQ.
|
|
func WorkOrderNo(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// ReturnDock applies equality check predicate on the "returnDock" field. It's identical to ReturnDockEQ.
|
|
func ReturnDock(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReturnDock, v))
|
|
}
|
|
|
|
// TheoryQty applies equality check predicate on the "theoryQty" field. It's identical to TheoryQtyEQ.
|
|
func TheoryQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldTheoryQty, v))
|
|
}
|
|
|
|
// LossQty applies equality check predicate on the "lossQty" field. It's identical to LossQtyEQ.
|
|
func LossQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldLossQty, v))
|
|
}
|
|
|
|
// LossReason applies equality check predicate on the "lossReason" field. It's identical to LossReasonEQ.
|
|
func LossReason(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldLossReason, v))
|
|
}
|
|
|
|
// ReceiveQty applies equality check predicate on the "receiveQty" field. It's identical to ReceiveQtyEQ.
|
|
func ReceiveQty(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveDiff applies equality check predicate on the "receiveDiff" field. It's identical to ReceiveDiffEQ.
|
|
func ReceiveDiff(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveNote applies equality check predicate on the "receiveNote" field. It's identical to ReceiveNoteEQ.
|
|
func ReceiveNote(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveNote, 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))
|
|
}
|
|
|
|
// BorrowFromIsNil applies the IsNil predicate on the "borrowFrom" field.
|
|
func BorrowFromIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldBorrowFrom))
|
|
}
|
|
|
|
// BorrowFromNotNil applies the NotNil predicate on the "borrowFrom" field.
|
|
func BorrowFromNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldBorrowFrom))
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// WorkOrderNoEQ applies the EQ predicate on the "workOrderNo" field.
|
|
func WorkOrderNoEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoNEQ applies the NEQ predicate on the "workOrderNo" field.
|
|
func WorkOrderNoNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoIn applies the In predicate on the "workOrderNo" field.
|
|
func WorkOrderNoIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldWorkOrderNo, vs...))
|
|
}
|
|
|
|
// WorkOrderNoNotIn applies the NotIn predicate on the "workOrderNo" field.
|
|
func WorkOrderNoNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldWorkOrderNo, vs...))
|
|
}
|
|
|
|
// WorkOrderNoGT applies the GT predicate on the "workOrderNo" field.
|
|
func WorkOrderNoGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoGTE applies the GTE predicate on the "workOrderNo" field.
|
|
func WorkOrderNoGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoLT applies the LT predicate on the "workOrderNo" field.
|
|
func WorkOrderNoLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoLTE applies the LTE predicate on the "workOrderNo" field.
|
|
func WorkOrderNoLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoContains applies the Contains predicate on the "workOrderNo" field.
|
|
func WorkOrderNoContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoHasPrefix applies the HasPrefix predicate on the "workOrderNo" field.
|
|
func WorkOrderNoHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoHasSuffix applies the HasSuffix predicate on the "workOrderNo" field.
|
|
func WorkOrderNoHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoEqualFold applies the EqualFold predicate on the "workOrderNo" field.
|
|
func WorkOrderNoEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// WorkOrderNoContainsFold applies the ContainsFold predicate on the "workOrderNo" field.
|
|
func WorkOrderNoContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldWorkOrderNo, v))
|
|
}
|
|
|
|
// ReturnDockEQ applies the EQ predicate on the "returnDock" field.
|
|
func ReturnDockEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockNEQ applies the NEQ predicate on the "returnDock" field.
|
|
func ReturnDockNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockIn applies the In predicate on the "returnDock" field.
|
|
func ReturnDockIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReturnDock, vs...))
|
|
}
|
|
|
|
// ReturnDockNotIn applies the NotIn predicate on the "returnDock" field.
|
|
func ReturnDockNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReturnDock, vs...))
|
|
}
|
|
|
|
// ReturnDockGT applies the GT predicate on the "returnDock" field.
|
|
func ReturnDockGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockGTE applies the GTE predicate on the "returnDock" field.
|
|
func ReturnDockGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockLT applies the LT predicate on the "returnDock" field.
|
|
func ReturnDockLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockLTE applies the LTE predicate on the "returnDock" field.
|
|
func ReturnDockLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockContains applies the Contains predicate on the "returnDock" field.
|
|
func ReturnDockContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockHasPrefix applies the HasPrefix predicate on the "returnDock" field.
|
|
func ReturnDockHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockHasSuffix applies the HasSuffix predicate on the "returnDock" field.
|
|
func ReturnDockHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockEqualFold applies the EqualFold predicate on the "returnDock" field.
|
|
func ReturnDockEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldReturnDock, v))
|
|
}
|
|
|
|
// ReturnDockContainsFold applies the ContainsFold predicate on the "returnDock" field.
|
|
func ReturnDockContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldReturnDock, v))
|
|
}
|
|
|
|
// TheoryQtyEQ applies the EQ predicate on the "theoryQty" field.
|
|
func TheoryQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyNEQ applies the NEQ predicate on the "theoryQty" field.
|
|
func TheoryQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyIn applies the In predicate on the "theoryQty" field.
|
|
func TheoryQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldTheoryQty, vs...))
|
|
}
|
|
|
|
// TheoryQtyNotIn applies the NotIn predicate on the "theoryQty" field.
|
|
func TheoryQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldTheoryQty, vs...))
|
|
}
|
|
|
|
// TheoryQtyGT applies the GT predicate on the "theoryQty" field.
|
|
func TheoryQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyGTE applies the GTE predicate on the "theoryQty" field.
|
|
func TheoryQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyLT applies the LT predicate on the "theoryQty" field.
|
|
func TheoryQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyLTE applies the LTE predicate on the "theoryQty" field.
|
|
func TheoryQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldTheoryQty, v))
|
|
}
|
|
|
|
// TheoryQtyIsNil applies the IsNil predicate on the "theoryQty" field.
|
|
func TheoryQtyIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldTheoryQty))
|
|
}
|
|
|
|
// TheoryQtyNotNil applies the NotNil predicate on the "theoryQty" field.
|
|
func TheoryQtyNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldTheoryQty))
|
|
}
|
|
|
|
// LossQtyEQ applies the EQ predicate on the "lossQty" field.
|
|
func LossQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyNEQ applies the NEQ predicate on the "lossQty" field.
|
|
func LossQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyIn applies the In predicate on the "lossQty" field.
|
|
func LossQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldLossQty, vs...))
|
|
}
|
|
|
|
// LossQtyNotIn applies the NotIn predicate on the "lossQty" field.
|
|
func LossQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldLossQty, vs...))
|
|
}
|
|
|
|
// LossQtyGT applies the GT predicate on the "lossQty" field.
|
|
func LossQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyGTE applies the GTE predicate on the "lossQty" field.
|
|
func LossQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyLT applies the LT predicate on the "lossQty" field.
|
|
func LossQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyLTE applies the LTE predicate on the "lossQty" field.
|
|
func LossQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldLossQty, v))
|
|
}
|
|
|
|
// LossQtyIsNil applies the IsNil predicate on the "lossQty" field.
|
|
func LossQtyIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldLossQty))
|
|
}
|
|
|
|
// LossQtyNotNil applies the NotNil predicate on the "lossQty" field.
|
|
func LossQtyNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldLossQty))
|
|
}
|
|
|
|
// LossReasonEQ applies the EQ predicate on the "lossReason" field.
|
|
func LossReasonEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonNEQ applies the NEQ predicate on the "lossReason" field.
|
|
func LossReasonNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonIn applies the In predicate on the "lossReason" field.
|
|
func LossReasonIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldLossReason, vs...))
|
|
}
|
|
|
|
// LossReasonNotIn applies the NotIn predicate on the "lossReason" field.
|
|
func LossReasonNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldLossReason, vs...))
|
|
}
|
|
|
|
// LossReasonGT applies the GT predicate on the "lossReason" field.
|
|
func LossReasonGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonGTE applies the GTE predicate on the "lossReason" field.
|
|
func LossReasonGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonLT applies the LT predicate on the "lossReason" field.
|
|
func LossReasonLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonLTE applies the LTE predicate on the "lossReason" field.
|
|
func LossReasonLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonContains applies the Contains predicate on the "lossReason" field.
|
|
func LossReasonContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonHasPrefix applies the HasPrefix predicate on the "lossReason" field.
|
|
func LossReasonHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonHasSuffix applies the HasSuffix predicate on the "lossReason" field.
|
|
func LossReasonHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonEqualFold applies the EqualFold predicate on the "lossReason" field.
|
|
func LossReasonEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldLossReason, v))
|
|
}
|
|
|
|
// LossReasonContainsFold applies the ContainsFold predicate on the "lossReason" field.
|
|
func LossReasonContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldLossReason, v))
|
|
}
|
|
|
|
// ReceiveQtyEQ applies the EQ predicate on the "receiveQty" field.
|
|
func ReceiveQtyEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyNEQ applies the NEQ predicate on the "receiveQty" field.
|
|
func ReceiveQtyNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyIn applies the In predicate on the "receiveQty" field.
|
|
func ReceiveQtyIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReceiveQty, vs...))
|
|
}
|
|
|
|
// ReceiveQtyNotIn applies the NotIn predicate on the "receiveQty" field.
|
|
func ReceiveQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceiveQty, vs...))
|
|
}
|
|
|
|
// ReceiveQtyGT applies the GT predicate on the "receiveQty" field.
|
|
func ReceiveQtyGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyGTE applies the GTE predicate on the "receiveQty" field.
|
|
func ReceiveQtyGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyLT applies the LT predicate on the "receiveQty" field.
|
|
func ReceiveQtyLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyLTE applies the LTE predicate on the "receiveQty" field.
|
|
func ReceiveQtyLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReceiveQty, v))
|
|
}
|
|
|
|
// ReceiveQtyIsNil applies the IsNil predicate on the "receiveQty" field.
|
|
func ReceiveQtyIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldReceiveQty))
|
|
}
|
|
|
|
// ReceiveQtyNotNil applies the NotNil predicate on the "receiveQty" field.
|
|
func ReceiveQtyNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldReceiveQty))
|
|
}
|
|
|
|
// ReceiveDiffEQ applies the EQ predicate on the "receiveDiff" field.
|
|
func ReceiveDiffEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffNEQ applies the NEQ predicate on the "receiveDiff" field.
|
|
func ReceiveDiffNEQ(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffIn applies the In predicate on the "receiveDiff" field.
|
|
func ReceiveDiffIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReceiveDiff, vs...))
|
|
}
|
|
|
|
// ReceiveDiffNotIn applies the NotIn predicate on the "receiveDiff" field.
|
|
func ReceiveDiffNotIn(vs ...float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceiveDiff, vs...))
|
|
}
|
|
|
|
// ReceiveDiffGT applies the GT predicate on the "receiveDiff" field.
|
|
func ReceiveDiffGT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffGTE applies the GTE predicate on the "receiveDiff" field.
|
|
func ReceiveDiffGTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffLT applies the LT predicate on the "receiveDiff" field.
|
|
func ReceiveDiffLT(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffLTE applies the LTE predicate on the "receiveDiff" field.
|
|
func ReceiveDiffLTE(v float64) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReceiveDiff, v))
|
|
}
|
|
|
|
// ReceiveDiffIsNil applies the IsNil predicate on the "receiveDiff" field.
|
|
func ReceiveDiffIsNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIsNull(FieldReceiveDiff))
|
|
}
|
|
|
|
// ReceiveDiffNotNil applies the NotNil predicate on the "receiveDiff" field.
|
|
func ReceiveDiffNotNil() predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotNull(FieldReceiveDiff))
|
|
}
|
|
|
|
// ReceiveNoteEQ applies the EQ predicate on the "receiveNote" field.
|
|
func ReceiveNoteEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteNEQ applies the NEQ predicate on the "receiveNote" field.
|
|
func ReceiveNoteNEQ(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteIn applies the In predicate on the "receiveNote" field.
|
|
func ReceiveNoteIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldIn(FieldReceiveNote, vs...))
|
|
}
|
|
|
|
// ReceiveNoteNotIn applies the NotIn predicate on the "receiveNote" field.
|
|
func ReceiveNoteNotIn(vs ...string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceiveNote, vs...))
|
|
}
|
|
|
|
// ReceiveNoteGT applies the GT predicate on the "receiveNote" field.
|
|
func ReceiveNoteGT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGT(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteGTE applies the GTE predicate on the "receiveNote" field.
|
|
func ReceiveNoteGTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldGTE(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteLT applies the LT predicate on the "receiveNote" field.
|
|
func ReceiveNoteLT(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLT(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteLTE applies the LTE predicate on the "receiveNote" field.
|
|
func ReceiveNoteLTE(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldLTE(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteContains applies the Contains predicate on the "receiveNote" field.
|
|
func ReceiveNoteContains(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContains(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteHasPrefix applies the HasPrefix predicate on the "receiveNote" field.
|
|
func ReceiveNoteHasPrefix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteHasSuffix applies the HasSuffix predicate on the "receiveNote" field.
|
|
func ReceiveNoteHasSuffix(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteEqualFold applies the EqualFold predicate on the "receiveNote" field.
|
|
func ReceiveNoteEqualFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldEqualFold(FieldReceiveNote, v))
|
|
}
|
|
|
|
// ReceiveNoteContainsFold applies the ContainsFold predicate on the "receiveNote" field.
|
|
func ReceiveNoteContainsFold(v string) predicate.MaterialRequest {
|
|
return predicate.MaterialRequest(sql.FieldContainsFold(FieldReceiveNote, 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))
|
|
}
|