feat: 完成客户第12条需求+多系统改造
1. 新增预警表添加工单号字段,支持按工单号检索预警 2. 添加工单过滤在制品/绩效报表/预警中心查询 3. 补全WMS台账字段口径与权限配置 4. 修复备料单与数量不符处理流程 5. 新增配送进度/库位联动/自动出库功能 6. 修复AGV配送状态更新逻辑 7. 优化退料与库存管理细节
This commit is contained in:
@@ -119,6 +119,46 @@ func SentQty(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldSentQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQty applies equality check predicate on the "receivedQty" field. It's identical to ReceivedQtyEQ.
|
||||
func ReceivedQty(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedAt applies equality check predicate on the "receivedAt" field. It's identical to ReceivedAtEQ.
|
||||
func ReceivedAt(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceiveBy applies equality check predicate on the "receiveBy" field. It's identical to ReceiveByEQ.
|
||||
func ReceiveBy(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveBy, 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))
|
||||
}
|
||||
|
||||
// OverQty applies equality check predicate on the "overQty" field. It's identical to OverQtyEQ.
|
||||
func OverQty(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverReason applies equality check predicate on the "overReason" field. It's identical to OverReasonEQ.
|
||||
func OverReason(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldOverReason, 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))
|
||||
}
|
||||
|
||||
// BatchNo applies equality check predicate on the "batchNo" field. It's identical to BatchNoEQ.
|
||||
func BatchNo(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldBatchNo, v))
|
||||
@@ -884,6 +924,396 @@ func SentQtyLTE(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldSentQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyEQ applies the EQ predicate on the "receivedQty" field.
|
||||
func ReceivedQtyEQ(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyNEQ applies the NEQ predicate on the "receivedQty" field.
|
||||
func ReceivedQtyNEQ(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyIn applies the In predicate on the "receivedQty" field.
|
||||
func ReceivedQtyIn(vs ...float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIn(FieldReceivedQty, vs...))
|
||||
}
|
||||
|
||||
// ReceivedQtyNotIn applies the NotIn predicate on the "receivedQty" field.
|
||||
func ReceivedQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceivedQty, vs...))
|
||||
}
|
||||
|
||||
// ReceivedQtyGT applies the GT predicate on the "receivedQty" field.
|
||||
func ReceivedQtyGT(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGT(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyGTE applies the GTE predicate on the "receivedQty" field.
|
||||
func ReceivedQtyGTE(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGTE(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyLT applies the LT predicate on the "receivedQty" field.
|
||||
func ReceivedQtyLT(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLT(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedQtyLTE applies the LTE predicate on the "receivedQty" field.
|
||||
func ReceivedQtyLTE(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldReceivedQty, v))
|
||||
}
|
||||
|
||||
// ReceivedAtEQ applies the EQ predicate on the "receivedAt" field.
|
||||
func ReceivedAtEQ(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceivedAtNEQ applies the NEQ predicate on the "receivedAt" field.
|
||||
func ReceivedAtNEQ(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceivedAtIn applies the In predicate on the "receivedAt" field.
|
||||
func ReceivedAtIn(vs ...int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIn(FieldReceivedAt, vs...))
|
||||
}
|
||||
|
||||
// ReceivedAtNotIn applies the NotIn predicate on the "receivedAt" field.
|
||||
func ReceivedAtNotIn(vs ...int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceivedAt, vs...))
|
||||
}
|
||||
|
||||
// ReceivedAtGT applies the GT predicate on the "receivedAt" field.
|
||||
func ReceivedAtGT(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGT(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceivedAtGTE applies the GTE predicate on the "receivedAt" field.
|
||||
func ReceivedAtGTE(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGTE(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceivedAtLT applies the LT predicate on the "receivedAt" field.
|
||||
func ReceivedAtLT(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLT(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceivedAtLTE applies the LTE predicate on the "receivedAt" field.
|
||||
func ReceivedAtLTE(v int64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldReceivedAt, v))
|
||||
}
|
||||
|
||||
// ReceiveByEQ applies the EQ predicate on the "receiveBy" field.
|
||||
func ReceiveByEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByNEQ applies the NEQ predicate on the "receiveBy" field.
|
||||
func ReceiveByNEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNEQ(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByIn applies the In predicate on the "receiveBy" field.
|
||||
func ReceiveByIn(vs ...string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIn(FieldReceiveBy, vs...))
|
||||
}
|
||||
|
||||
// ReceiveByNotIn applies the NotIn predicate on the "receiveBy" field.
|
||||
func ReceiveByNotIn(vs ...string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotIn(FieldReceiveBy, vs...))
|
||||
}
|
||||
|
||||
// ReceiveByGT applies the GT predicate on the "receiveBy" field.
|
||||
func ReceiveByGT(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGT(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByGTE applies the GTE predicate on the "receiveBy" field.
|
||||
func ReceiveByGTE(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGTE(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByLT applies the LT predicate on the "receiveBy" field.
|
||||
func ReceiveByLT(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLT(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByLTE applies the LTE predicate on the "receiveBy" field.
|
||||
func ReceiveByLTE(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByContains applies the Contains predicate on the "receiveBy" field.
|
||||
func ReceiveByContains(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldContains(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByHasPrefix applies the HasPrefix predicate on the "receiveBy" field.
|
||||
func ReceiveByHasPrefix(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByHasSuffix applies the HasSuffix predicate on the "receiveBy" field.
|
||||
func ReceiveByHasSuffix(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByEqualFold applies the EqualFold predicate on the "receiveBy" field.
|
||||
func ReceiveByEqualFold(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEqualFold(FieldReceiveBy, v))
|
||||
}
|
||||
|
||||
// ReceiveByContainsFold applies the ContainsFold predicate on the "receiveBy" field.
|
||||
func ReceiveByContainsFold(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldContainsFold(FieldReceiveBy, 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))
|
||||
}
|
||||
|
||||
// OverQtyEQ applies the EQ predicate on the "overQty" field.
|
||||
func OverQtyEQ(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverQtyNEQ applies the NEQ predicate on the "overQty" field.
|
||||
func OverQtyNEQ(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNEQ(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverQtyIn applies the In predicate on the "overQty" field.
|
||||
func OverQtyIn(vs ...float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIn(FieldOverQty, vs...))
|
||||
}
|
||||
|
||||
// OverQtyNotIn applies the NotIn predicate on the "overQty" field.
|
||||
func OverQtyNotIn(vs ...float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotIn(FieldOverQty, vs...))
|
||||
}
|
||||
|
||||
// OverQtyGT applies the GT predicate on the "overQty" field.
|
||||
func OverQtyGT(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGT(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverQtyGTE applies the GTE predicate on the "overQty" field.
|
||||
func OverQtyGTE(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGTE(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverQtyLT applies the LT predicate on the "overQty" field.
|
||||
func OverQtyLT(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLT(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverQtyLTE applies the LTE predicate on the "overQty" field.
|
||||
func OverQtyLTE(v float64) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldOverQty, v))
|
||||
}
|
||||
|
||||
// OverReasonEQ applies the EQ predicate on the "overReason" field.
|
||||
func OverReasonEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonNEQ applies the NEQ predicate on the "overReason" field.
|
||||
func OverReasonNEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNEQ(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonIn applies the In predicate on the "overReason" field.
|
||||
func OverReasonIn(vs ...string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIn(FieldOverReason, vs...))
|
||||
}
|
||||
|
||||
// OverReasonNotIn applies the NotIn predicate on the "overReason" field.
|
||||
func OverReasonNotIn(vs ...string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotIn(FieldOverReason, vs...))
|
||||
}
|
||||
|
||||
// OverReasonGT applies the GT predicate on the "overReason" field.
|
||||
func OverReasonGT(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGT(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonGTE applies the GTE predicate on the "overReason" field.
|
||||
func OverReasonGTE(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldGTE(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonLT applies the LT predicate on the "overReason" field.
|
||||
func OverReasonLT(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLT(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonLTE applies the LTE predicate on the "overReason" field.
|
||||
func OverReasonLTE(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldLTE(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonContains applies the Contains predicate on the "overReason" field.
|
||||
func OverReasonContains(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldContains(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonHasPrefix applies the HasPrefix predicate on the "overReason" field.
|
||||
func OverReasonHasPrefix(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldHasPrefix(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonHasSuffix applies the HasSuffix predicate on the "overReason" field.
|
||||
func OverReasonHasSuffix(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldHasSuffix(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonEqualFold applies the EqualFold predicate on the "overReason" field.
|
||||
func OverReasonEqualFold(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEqualFold(FieldOverReason, v))
|
||||
}
|
||||
|
||||
// OverReasonContainsFold applies the ContainsFold predicate on the "overReason" field.
|
||||
func OverReasonContainsFold(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldContainsFold(FieldOverReason, 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))
|
||||
}
|
||||
|
||||
// BatchNoEQ applies the EQ predicate on the "batchNo" field.
|
||||
func BatchNoEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldBatchNo, v))
|
||||
|
||||
Reference in New Issue
Block a user