- 新增过程巡检按步骤上报、数量不符上报、工位退料功能 - 增加工单工程编号三级归属字段 - 新增物料安全库存与缺货预警 - 新增附件管理、退库单管理模块 - 优化生产看板展示逻辑与前端页面文案 - 清理冗余的工艺路线相关代码与备份文件
841 lines
33 KiB
Go
841 lines
33 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package materialqtyreport
|
|
|
|
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.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
|
func StationNo(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// OrderNo applies equality check predicate on the "orderNo" field. It's identical to OrderNoEQ.
|
|
func OrderNo(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.
|
|
func Sn(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldSn, v))
|
|
}
|
|
|
|
// MaterialCode applies equality check predicate on the "materialCode" field. It's identical to MaterialCodeEQ.
|
|
func MaterialCode(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialName applies equality check predicate on the "materialName" field. It's identical to MaterialNameEQ.
|
|
func MaterialName(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// PlanQty applies equality check predicate on the "planQty" field. It's identical to PlanQtyEQ.
|
|
func PlanQty(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldPlanQty, v))
|
|
}
|
|
|
|
// ActualQty applies equality check predicate on the "actualQty" field. It's identical to ActualQtyEQ.
|
|
func ActualQty(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldActualQty, v))
|
|
}
|
|
|
|
// DiffQty applies equality check predicate on the "diffQty" field. It's identical to DiffQtyEQ.
|
|
func DiffQty(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldDiffQty, v))
|
|
}
|
|
|
|
// Cause applies equality check predicate on the "cause" field. It's identical to CauseEQ.
|
|
func Cause(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldCause, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
|
func Operator(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldOperator, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// ResolvedAt applies equality check predicate on the "resolvedAt" field. It's identical to ResolvedAtEQ.
|
|
func ResolvedAt(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
|
func StationNoEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
|
func StationNoNEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoIn applies the In predicate on the "stationNo" field.
|
|
func StationNoIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
|
func StationNoNotIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldStationNo, vs...))
|
|
}
|
|
|
|
// StationNoGT applies the GT predicate on the "stationNo" field.
|
|
func StationNoGT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
|
func StationNoGTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLT applies the LT predicate on the "stationNo" field.
|
|
func StationNoLT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldStationNo, v))
|
|
}
|
|
|
|
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
|
func StationNoLTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldStationNo, v))
|
|
}
|
|
|
|
// OrderNoEQ applies the EQ predicate on the "orderNo" field.
|
|
func OrderNoEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoNEQ applies the NEQ predicate on the "orderNo" field.
|
|
func OrderNoNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoIn applies the In predicate on the "orderNo" field.
|
|
func OrderNoIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldOrderNo, vs...))
|
|
}
|
|
|
|
// OrderNoNotIn applies the NotIn predicate on the "orderNo" field.
|
|
func OrderNoNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldOrderNo, vs...))
|
|
}
|
|
|
|
// OrderNoGT applies the GT predicate on the "orderNo" field.
|
|
func OrderNoGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoGTE applies the GTE predicate on the "orderNo" field.
|
|
func OrderNoGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoLT applies the LT predicate on the "orderNo" field.
|
|
func OrderNoLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoLTE applies the LTE predicate on the "orderNo" field.
|
|
func OrderNoLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoContains applies the Contains predicate on the "orderNo" field.
|
|
func OrderNoContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoHasPrefix applies the HasPrefix predicate on the "orderNo" field.
|
|
func OrderNoHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoHasSuffix applies the HasSuffix predicate on the "orderNo" field.
|
|
func OrderNoHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoEqualFold applies the EqualFold predicate on the "orderNo" field.
|
|
func OrderNoEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoContainsFold applies the ContainsFold predicate on the "orderNo" field.
|
|
func OrderNoContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldOrderNo, v))
|
|
}
|
|
|
|
// SnEQ applies the EQ predicate on the "sn" field.
|
|
func SnEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldSn, v))
|
|
}
|
|
|
|
// SnNEQ applies the NEQ predicate on the "sn" field.
|
|
func SnNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldSn, v))
|
|
}
|
|
|
|
// SnIn applies the In predicate on the "sn" field.
|
|
func SnIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldSn, vs...))
|
|
}
|
|
|
|
// SnNotIn applies the NotIn predicate on the "sn" field.
|
|
func SnNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldSn, vs...))
|
|
}
|
|
|
|
// SnGT applies the GT predicate on the "sn" field.
|
|
func SnGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldSn, v))
|
|
}
|
|
|
|
// SnGTE applies the GTE predicate on the "sn" field.
|
|
func SnGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldSn, v))
|
|
}
|
|
|
|
// SnLT applies the LT predicate on the "sn" field.
|
|
func SnLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldSn, v))
|
|
}
|
|
|
|
// SnLTE applies the LTE predicate on the "sn" field.
|
|
func SnLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldSn, v))
|
|
}
|
|
|
|
// SnContains applies the Contains predicate on the "sn" field.
|
|
func SnContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldSn, v))
|
|
}
|
|
|
|
// SnHasPrefix applies the HasPrefix predicate on the "sn" field.
|
|
func SnHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldSn, v))
|
|
}
|
|
|
|
// SnHasSuffix applies the HasSuffix predicate on the "sn" field.
|
|
func SnHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldSn, v))
|
|
}
|
|
|
|
// SnEqualFold applies the EqualFold predicate on the "sn" field.
|
|
func SnEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldSn, v))
|
|
}
|
|
|
|
// SnContainsFold applies the ContainsFold predicate on the "sn" field.
|
|
func SnContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldSn, v))
|
|
}
|
|
|
|
// MaterialCodeEQ applies the EQ predicate on the "materialCode" field.
|
|
func MaterialCodeEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeNEQ applies the NEQ predicate on the "materialCode" field.
|
|
func MaterialCodeNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeIn applies the In predicate on the "materialCode" field.
|
|
func MaterialCodeIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeNotIn applies the NotIn predicate on the "materialCode" field.
|
|
func MaterialCodeNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeGT applies the GT predicate on the "materialCode" field.
|
|
func MaterialCodeGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeGTE applies the GTE predicate on the "materialCode" field.
|
|
func MaterialCodeGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLT applies the LT predicate on the "materialCode" field.
|
|
func MaterialCodeLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLTE applies the LTE predicate on the "materialCode" field.
|
|
func MaterialCodeLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContains applies the Contains predicate on the "materialCode" field.
|
|
func MaterialCodeContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "materialCode" field.
|
|
func MaterialCodeHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "materialCode" field.
|
|
func MaterialCodeHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeEqualFold applies the EqualFold predicate on the "materialCode" field.
|
|
func MaterialCodeEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContainsFold applies the ContainsFold predicate on the "materialCode" field.
|
|
func MaterialCodeContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialNameEQ applies the EQ predicate on the "materialName" field.
|
|
func MaterialNameEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameNEQ applies the NEQ predicate on the "materialName" field.
|
|
func MaterialNameNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameIn applies the In predicate on the "materialName" field.
|
|
func MaterialNameIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameNotIn applies the NotIn predicate on the "materialName" field.
|
|
func MaterialNameNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameGT applies the GT predicate on the "materialName" field.
|
|
func MaterialNameGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameGTE applies the GTE predicate on the "materialName" field.
|
|
func MaterialNameGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLT applies the LT predicate on the "materialName" field.
|
|
func MaterialNameLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLTE applies the LTE predicate on the "materialName" field.
|
|
func MaterialNameLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContains applies the Contains predicate on the "materialName" field.
|
|
func MaterialNameContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasPrefix applies the HasPrefix predicate on the "materialName" field.
|
|
func MaterialNameHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasSuffix applies the HasSuffix predicate on the "materialName" field.
|
|
func MaterialNameHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameEqualFold applies the EqualFold predicate on the "materialName" field.
|
|
func MaterialNameEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContainsFold applies the ContainsFold predicate on the "materialName" field.
|
|
func MaterialNameContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// PlanQtyEQ applies the EQ predicate on the "planQty" field.
|
|
func PlanQtyEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldPlanQty, v))
|
|
}
|
|
|
|
// PlanQtyNEQ applies the NEQ predicate on the "planQty" field.
|
|
func PlanQtyNEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldPlanQty, v))
|
|
}
|
|
|
|
// PlanQtyIn applies the In predicate on the "planQty" field.
|
|
func PlanQtyIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldPlanQty, vs...))
|
|
}
|
|
|
|
// PlanQtyNotIn applies the NotIn predicate on the "planQty" field.
|
|
func PlanQtyNotIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldPlanQty, vs...))
|
|
}
|
|
|
|
// PlanQtyGT applies the GT predicate on the "planQty" field.
|
|
func PlanQtyGT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldPlanQty, v))
|
|
}
|
|
|
|
// PlanQtyGTE applies the GTE predicate on the "planQty" field.
|
|
func PlanQtyGTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldPlanQty, v))
|
|
}
|
|
|
|
// PlanQtyLT applies the LT predicate on the "planQty" field.
|
|
func PlanQtyLT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldPlanQty, v))
|
|
}
|
|
|
|
// PlanQtyLTE applies the LTE predicate on the "planQty" field.
|
|
func PlanQtyLTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldPlanQty, v))
|
|
}
|
|
|
|
// ActualQtyEQ applies the EQ predicate on the "actualQty" field.
|
|
func ActualQtyEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldActualQty, v))
|
|
}
|
|
|
|
// ActualQtyNEQ applies the NEQ predicate on the "actualQty" field.
|
|
func ActualQtyNEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldActualQty, v))
|
|
}
|
|
|
|
// ActualQtyIn applies the In predicate on the "actualQty" field.
|
|
func ActualQtyIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldActualQty, vs...))
|
|
}
|
|
|
|
// ActualQtyNotIn applies the NotIn predicate on the "actualQty" field.
|
|
func ActualQtyNotIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldActualQty, vs...))
|
|
}
|
|
|
|
// ActualQtyGT applies the GT predicate on the "actualQty" field.
|
|
func ActualQtyGT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldActualQty, v))
|
|
}
|
|
|
|
// ActualQtyGTE applies the GTE predicate on the "actualQty" field.
|
|
func ActualQtyGTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldActualQty, v))
|
|
}
|
|
|
|
// ActualQtyLT applies the LT predicate on the "actualQty" field.
|
|
func ActualQtyLT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldActualQty, v))
|
|
}
|
|
|
|
// ActualQtyLTE applies the LTE predicate on the "actualQty" field.
|
|
func ActualQtyLTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldActualQty, v))
|
|
}
|
|
|
|
// DiffQtyEQ applies the EQ predicate on the "diffQty" field.
|
|
func DiffQtyEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldDiffQty, v))
|
|
}
|
|
|
|
// DiffQtyNEQ applies the NEQ predicate on the "diffQty" field.
|
|
func DiffQtyNEQ(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldDiffQty, v))
|
|
}
|
|
|
|
// DiffQtyIn applies the In predicate on the "diffQty" field.
|
|
func DiffQtyIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldDiffQty, vs...))
|
|
}
|
|
|
|
// DiffQtyNotIn applies the NotIn predicate on the "diffQty" field.
|
|
func DiffQtyNotIn(vs ...int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldDiffQty, vs...))
|
|
}
|
|
|
|
// DiffQtyGT applies the GT predicate on the "diffQty" field.
|
|
func DiffQtyGT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldDiffQty, v))
|
|
}
|
|
|
|
// DiffQtyGTE applies the GTE predicate on the "diffQty" field.
|
|
func DiffQtyGTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldDiffQty, v))
|
|
}
|
|
|
|
// DiffQtyLT applies the LT predicate on the "diffQty" field.
|
|
func DiffQtyLT(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldDiffQty, v))
|
|
}
|
|
|
|
// DiffQtyLTE applies the LTE predicate on the "diffQty" field.
|
|
func DiffQtyLTE(v int) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldDiffQty, v))
|
|
}
|
|
|
|
// CauseEQ applies the EQ predicate on the "cause" field.
|
|
func CauseEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldCause, v))
|
|
}
|
|
|
|
// CauseNEQ applies the NEQ predicate on the "cause" field.
|
|
func CauseNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldCause, v))
|
|
}
|
|
|
|
// CauseIn applies the In predicate on the "cause" field.
|
|
func CauseIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldCause, vs...))
|
|
}
|
|
|
|
// CauseNotIn applies the NotIn predicate on the "cause" field.
|
|
func CauseNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldCause, vs...))
|
|
}
|
|
|
|
// CauseGT applies the GT predicate on the "cause" field.
|
|
func CauseGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldCause, v))
|
|
}
|
|
|
|
// CauseGTE applies the GTE predicate on the "cause" field.
|
|
func CauseGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldCause, v))
|
|
}
|
|
|
|
// CauseLT applies the LT predicate on the "cause" field.
|
|
func CauseLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldCause, v))
|
|
}
|
|
|
|
// CauseLTE applies the LTE predicate on the "cause" field.
|
|
func CauseLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldCause, v))
|
|
}
|
|
|
|
// CauseContains applies the Contains predicate on the "cause" field.
|
|
func CauseContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldCause, v))
|
|
}
|
|
|
|
// CauseHasPrefix applies the HasPrefix predicate on the "cause" field.
|
|
func CauseHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldCause, v))
|
|
}
|
|
|
|
// CauseHasSuffix applies the HasSuffix predicate on the "cause" field.
|
|
func CauseHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldCause, v))
|
|
}
|
|
|
|
// CauseEqualFold applies the EqualFold predicate on the "cause" field.
|
|
func CauseEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldCause, v))
|
|
}
|
|
|
|
// CauseContainsFold applies the ContainsFold predicate on the "cause" field.
|
|
func CauseContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldCause, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// OperatorEQ applies the EQ predicate on the "operator" field.
|
|
func OperatorEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
|
func OperatorNEQ(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorIn applies the In predicate on the "operator" field.
|
|
func OperatorIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldOperator, vs...))
|
|
}
|
|
|
|
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
|
func OperatorNotIn(vs ...string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldOperator, vs...))
|
|
}
|
|
|
|
// OperatorGT applies the GT predicate on the "operator" field.
|
|
func OperatorGT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorGTE applies the GTE predicate on the "operator" field.
|
|
func OperatorGTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorLT applies the LT predicate on the "operator" field.
|
|
func OperatorLT(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorLTE applies the LTE predicate on the "operator" field.
|
|
func OperatorLTE(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorContains applies the Contains predicate on the "operator" field.
|
|
func OperatorContains(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContains(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
|
func OperatorHasPrefix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
|
func OperatorHasSuffix(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
|
func OperatorEqualFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldOperator, v))
|
|
}
|
|
|
|
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
|
func OperatorContainsFold(v string) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldOperator, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
|
func CreatedAtEQ(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
|
func CreatedAtGT(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
|
func CreatedAtGTE(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
|
func CreatedAtLT(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
|
func CreatedAtLTE(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// ResolvedAtEQ applies the EQ predicate on the "resolvedAt" field.
|
|
func ResolvedAtEQ(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtNEQ applies the NEQ predicate on the "resolvedAt" field.
|
|
func ResolvedAtNEQ(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtIn applies the In predicate on the "resolvedAt" field.
|
|
func ResolvedAtIn(vs ...time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIn(FieldResolvedAt, vs...))
|
|
}
|
|
|
|
// ResolvedAtNotIn applies the NotIn predicate on the "resolvedAt" field.
|
|
func ResolvedAtNotIn(vs ...time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldResolvedAt, vs...))
|
|
}
|
|
|
|
// ResolvedAtGT applies the GT predicate on the "resolvedAt" field.
|
|
func ResolvedAtGT(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGT(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtGTE applies the GTE predicate on the "resolvedAt" field.
|
|
func ResolvedAtGTE(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldGTE(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtLT applies the LT predicate on the "resolvedAt" field.
|
|
func ResolvedAtLT(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLT(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtLTE applies the LTE predicate on the "resolvedAt" field.
|
|
func ResolvedAtLTE(v time.Time) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldLTE(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtIsNil applies the IsNil predicate on the "resolvedAt" field.
|
|
func ResolvedAtIsNil() predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldIsNull(FieldResolvedAt))
|
|
}
|
|
|
|
// ResolvedAtNotNil applies the NotNil predicate on the "resolvedAt" field.
|
|
func ResolvedAtNotNil() predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.FieldNotNull(FieldResolvedAt))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.MaterialQtyReport) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.MaterialQtyReport) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.MaterialQtyReport) predicate.MaterialQtyReport {
|
|
return predicate.MaterialQtyReport(sql.NotPredicates(p))
|
|
}
|