feat: 完成客户第12条需求+多系统改造
1. 新增预警表添加工单号字段,支持按工单号检索预警 2. 添加工单过滤在制品/绩效报表/预警中心查询 3. 补全WMS台账字段口径与权限配置 4. 修复备料单与数量不符处理流程 5. 新增配送进度/库位联动/自动出库功能 6. 修复AGV配送状态更新逻辑 7. 优化退料与库存管理细节
This commit is contained in:
@@ -33,6 +33,16 @@ const (
|
||||
FieldCause = "cause"
|
||||
// FieldStatus holds the string denoting the status field in the database.
|
||||
FieldStatus = "status"
|
||||
// FieldHandleType holds the string denoting the handletype field in the database.
|
||||
FieldHandleType = "handle_type"
|
||||
// FieldHandleDocNo holds the string denoting the handledocno field in the database.
|
||||
FieldHandleDocNo = "handle_doc_no"
|
||||
// FieldHandleNote holds the string denoting the handlenote field in the database.
|
||||
FieldHandleNote = "handle_note"
|
||||
// FieldHandledBy holds the string denoting the handledby field in the database.
|
||||
FieldHandledBy = "handled_by"
|
||||
// FieldHandledAt holds the string denoting the handledat field in the database.
|
||||
FieldHandledAt = "handled_at"
|
||||
// FieldOperator holds the string denoting the operator field in the database.
|
||||
FieldOperator = "operator"
|
||||
// FieldCreatedAt holds the string denoting the createdat field in the database.
|
||||
@@ -56,6 +66,11 @@ var Columns = []string{
|
||||
FieldDiffQty,
|
||||
FieldCause,
|
||||
FieldStatus,
|
||||
FieldHandleType,
|
||||
FieldHandleDocNo,
|
||||
FieldHandleNote,
|
||||
FieldHandledBy,
|
||||
FieldHandledAt,
|
||||
FieldOperator,
|
||||
FieldCreatedAt,
|
||||
FieldResolvedAt,
|
||||
@@ -104,6 +119,24 @@ var (
|
||||
DefaultStatus string
|
||||
// StatusValidator is a validator for the "status" field. It is called by the builders before save.
|
||||
StatusValidator func(string) error
|
||||
// DefaultHandleType holds the default value on creation for the "handleType" field.
|
||||
DefaultHandleType string
|
||||
// HandleTypeValidator is a validator for the "handleType" field. It is called by the builders before save.
|
||||
HandleTypeValidator func(string) error
|
||||
// DefaultHandleDocNo holds the default value on creation for the "handleDocNo" field.
|
||||
DefaultHandleDocNo string
|
||||
// HandleDocNoValidator is a validator for the "handleDocNo" field. It is called by the builders before save.
|
||||
HandleDocNoValidator func(string) error
|
||||
// DefaultHandleNote holds the default value on creation for the "handleNote" field.
|
||||
DefaultHandleNote string
|
||||
// HandleNoteValidator is a validator for the "handleNote" field. It is called by the builders before save.
|
||||
HandleNoteValidator func(string) error
|
||||
// DefaultHandledBy holds the default value on creation for the "handledBy" field.
|
||||
DefaultHandledBy string
|
||||
// HandledByValidator is a validator for the "handledBy" field. It is called by the builders before save.
|
||||
HandledByValidator func(string) error
|
||||
// DefaultHandledAt holds the default value on creation for the "handledAt" field.
|
||||
DefaultHandledAt int64
|
||||
// DefaultOperator holds the default value on creation for the "operator" field.
|
||||
DefaultOperator string
|
||||
// OperatorValidator is a validator for the "operator" field. It is called by the builders before save.
|
||||
@@ -172,6 +205,31 @@ func ByStatus(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldStatus, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByHandleType orders the results by the handleType field.
|
||||
func ByHandleType(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldHandleType, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByHandleDocNo orders the results by the handleDocNo field.
|
||||
func ByHandleDocNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldHandleDocNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByHandleNote orders the results by the handleNote field.
|
||||
func ByHandleNote(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldHandleNote, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByHandledBy orders the results by the handledBy field.
|
||||
func ByHandledBy(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldHandledBy, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByHandledAt orders the results by the handledAt field.
|
||||
func ByHandledAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldHandledAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByOperator orders the results by the operator field.
|
||||
func ByOperator(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldOperator, opts...).ToFunc()
|
||||
|
||||
@@ -104,6 +104,31 @@ func Status(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// HandleType applies equality check predicate on the "handleType" field. It's identical to HandleTypeEQ.
|
||||
func HandleType(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleDocNo applies equality check predicate on the "handleDocNo" field. It's identical to HandleDocNoEQ.
|
||||
func HandleDocNo(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleNote applies equality check predicate on the "handleNote" field. It's identical to HandleNoteEQ.
|
||||
func HandleNote(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandledBy applies equality check predicate on the "handledBy" field. It's identical to HandledByEQ.
|
||||
func HandledBy(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledAt applies equality check predicate on the "handledAt" field. It's identical to HandledAtEQ.
|
||||
func HandledAt(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandledAt, 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))
|
||||
@@ -669,6 +694,306 @@ func StatusContainsFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldStatus, v))
|
||||
}
|
||||
|
||||
// HandleTypeEQ applies the EQ predicate on the "handleType" field.
|
||||
func HandleTypeEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeNEQ applies the NEQ predicate on the "handleType" field.
|
||||
func HandleTypeNEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeIn applies the In predicate on the "handleType" field.
|
||||
func HandleTypeIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldIn(FieldHandleType, vs...))
|
||||
}
|
||||
|
||||
// HandleTypeNotIn applies the NotIn predicate on the "handleType" field.
|
||||
func HandleTypeNotIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldHandleType, vs...))
|
||||
}
|
||||
|
||||
// HandleTypeGT applies the GT predicate on the "handleType" field.
|
||||
func HandleTypeGT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGT(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeGTE applies the GTE predicate on the "handleType" field.
|
||||
func HandleTypeGTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGTE(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeLT applies the LT predicate on the "handleType" field.
|
||||
func HandleTypeLT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLT(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeLTE applies the LTE predicate on the "handleType" field.
|
||||
func HandleTypeLTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLTE(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeContains applies the Contains predicate on the "handleType" field.
|
||||
func HandleTypeContains(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContains(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeHasPrefix applies the HasPrefix predicate on the "handleType" field.
|
||||
func HandleTypeHasPrefix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeHasSuffix applies the HasSuffix predicate on the "handleType" field.
|
||||
func HandleTypeHasSuffix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeEqualFold applies the EqualFold predicate on the "handleType" field.
|
||||
func HandleTypeEqualFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleTypeContainsFold applies the ContainsFold predicate on the "handleType" field.
|
||||
func HandleTypeContainsFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldHandleType, v))
|
||||
}
|
||||
|
||||
// HandleDocNoEQ applies the EQ predicate on the "handleDocNo" field.
|
||||
func HandleDocNoEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoNEQ applies the NEQ predicate on the "handleDocNo" field.
|
||||
func HandleDocNoNEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoIn applies the In predicate on the "handleDocNo" field.
|
||||
func HandleDocNoIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldIn(FieldHandleDocNo, vs...))
|
||||
}
|
||||
|
||||
// HandleDocNoNotIn applies the NotIn predicate on the "handleDocNo" field.
|
||||
func HandleDocNoNotIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldHandleDocNo, vs...))
|
||||
}
|
||||
|
||||
// HandleDocNoGT applies the GT predicate on the "handleDocNo" field.
|
||||
func HandleDocNoGT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGT(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoGTE applies the GTE predicate on the "handleDocNo" field.
|
||||
func HandleDocNoGTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGTE(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoLT applies the LT predicate on the "handleDocNo" field.
|
||||
func HandleDocNoLT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLT(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoLTE applies the LTE predicate on the "handleDocNo" field.
|
||||
func HandleDocNoLTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLTE(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoContains applies the Contains predicate on the "handleDocNo" field.
|
||||
func HandleDocNoContains(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContains(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoHasPrefix applies the HasPrefix predicate on the "handleDocNo" field.
|
||||
func HandleDocNoHasPrefix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoHasSuffix applies the HasSuffix predicate on the "handleDocNo" field.
|
||||
func HandleDocNoHasSuffix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoEqualFold applies the EqualFold predicate on the "handleDocNo" field.
|
||||
func HandleDocNoEqualFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleDocNoContainsFold applies the ContainsFold predicate on the "handleDocNo" field.
|
||||
func HandleDocNoContainsFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldHandleDocNo, v))
|
||||
}
|
||||
|
||||
// HandleNoteEQ applies the EQ predicate on the "handleNote" field.
|
||||
func HandleNoteEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteNEQ applies the NEQ predicate on the "handleNote" field.
|
||||
func HandleNoteNEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteIn applies the In predicate on the "handleNote" field.
|
||||
func HandleNoteIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldIn(FieldHandleNote, vs...))
|
||||
}
|
||||
|
||||
// HandleNoteNotIn applies the NotIn predicate on the "handleNote" field.
|
||||
func HandleNoteNotIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldHandleNote, vs...))
|
||||
}
|
||||
|
||||
// HandleNoteGT applies the GT predicate on the "handleNote" field.
|
||||
func HandleNoteGT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGT(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteGTE applies the GTE predicate on the "handleNote" field.
|
||||
func HandleNoteGTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGTE(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteLT applies the LT predicate on the "handleNote" field.
|
||||
func HandleNoteLT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLT(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteLTE applies the LTE predicate on the "handleNote" field.
|
||||
func HandleNoteLTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLTE(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteContains applies the Contains predicate on the "handleNote" field.
|
||||
func HandleNoteContains(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContains(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteHasPrefix applies the HasPrefix predicate on the "handleNote" field.
|
||||
func HandleNoteHasPrefix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteHasSuffix applies the HasSuffix predicate on the "handleNote" field.
|
||||
func HandleNoteHasSuffix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteEqualFold applies the EqualFold predicate on the "handleNote" field.
|
||||
func HandleNoteEqualFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandleNoteContainsFold applies the ContainsFold predicate on the "handleNote" field.
|
||||
func HandleNoteContainsFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldHandleNote, v))
|
||||
}
|
||||
|
||||
// HandledByEQ applies the EQ predicate on the "handledBy" field.
|
||||
func HandledByEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByNEQ applies the NEQ predicate on the "handledBy" field.
|
||||
func HandledByNEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByIn applies the In predicate on the "handledBy" field.
|
||||
func HandledByIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldIn(FieldHandledBy, vs...))
|
||||
}
|
||||
|
||||
// HandledByNotIn applies the NotIn predicate on the "handledBy" field.
|
||||
func HandledByNotIn(vs ...string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldHandledBy, vs...))
|
||||
}
|
||||
|
||||
// HandledByGT applies the GT predicate on the "handledBy" field.
|
||||
func HandledByGT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGT(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByGTE applies the GTE predicate on the "handledBy" field.
|
||||
func HandledByGTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGTE(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByLT applies the LT predicate on the "handledBy" field.
|
||||
func HandledByLT(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLT(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByLTE applies the LTE predicate on the "handledBy" field.
|
||||
func HandledByLTE(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLTE(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByContains applies the Contains predicate on the "handledBy" field.
|
||||
func HandledByContains(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContains(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByHasPrefix applies the HasPrefix predicate on the "handledBy" field.
|
||||
func HandledByHasPrefix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasPrefix(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByHasSuffix applies the HasSuffix predicate on the "handledBy" field.
|
||||
func HandledByHasSuffix(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldHasSuffix(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByEqualFold applies the EqualFold predicate on the "handledBy" field.
|
||||
func HandledByEqualFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEqualFold(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledByContainsFold applies the ContainsFold predicate on the "handledBy" field.
|
||||
func HandledByContainsFold(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldContainsFold(FieldHandledBy, v))
|
||||
}
|
||||
|
||||
// HandledAtEQ applies the EQ predicate on the "handledAt" field.
|
||||
func HandledAtEQ(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// HandledAtNEQ applies the NEQ predicate on the "handledAt" field.
|
||||
func HandledAtNEQ(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNEQ(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// HandledAtIn applies the In predicate on the "handledAt" field.
|
||||
func HandledAtIn(vs ...int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldIn(FieldHandledAt, vs...))
|
||||
}
|
||||
|
||||
// HandledAtNotIn applies the NotIn predicate on the "handledAt" field.
|
||||
func HandledAtNotIn(vs ...int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldNotIn(FieldHandledAt, vs...))
|
||||
}
|
||||
|
||||
// HandledAtGT applies the GT predicate on the "handledAt" field.
|
||||
func HandledAtGT(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGT(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// HandledAtGTE applies the GTE predicate on the "handledAt" field.
|
||||
func HandledAtGTE(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldGTE(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// HandledAtLT applies the LT predicate on the "handledAt" field.
|
||||
func HandledAtLT(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLT(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// HandledAtLTE applies the LTE predicate on the "handledAt" field.
|
||||
func HandledAtLTE(v int64) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldLTE(FieldHandledAt, v))
|
||||
}
|
||||
|
||||
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||||
func OperatorEQ(v string) predicate.MaterialQtyReport {
|
||||
return predicate.MaterialQtyReport(sql.FieldEQ(FieldOperator, v))
|
||||
|
||||
Reference in New Issue
Block a user