feat: 五项目业务实现并对接完成
- MES(B): 工单/BOM/备料/工序字典/PLC下发/拧紧/扫码报工/半成品/AGV/追溯逻辑,WMS与海康RCS客户端,看板Redis缓存API(概览/设备/进度/报警/趋势)+SSE - WMS(C): JWT滑动续签、Excel导入、盘点、内部API、种子数据、独立Postgres配置 - WMS客户端(E): Go网关8891反向代理+内嵌Vue3十页 - 工位终端(D): SQLite本地缓存+模拟拧紧源+内嵌Vue3页面 - Dashboard(A): 看板数据改接MES内部缓存API,SSE实时刷新+vite代理 - 清理各项目球形磨遗留代码,新增部署手册.md
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package inboundorder
|
||||
|
||||
import (
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
const (
|
||||
// Label holds the string label denoting the inboundorder type in the database.
|
||||
Label = "inbound_order"
|
||||
// FieldID holds the string denoting the id field in the database.
|
||||
FieldID = "id"
|
||||
// FieldInboundNo holds the string denoting the inbound_no field in the database.
|
||||
FieldInboundNo = "inbound_no"
|
||||
// FieldInboundType holds the string denoting the inbound_type field in the database.
|
||||
FieldInboundType = "inbound_type"
|
||||
// FieldMaterialCode holds the string denoting the material_code field in the database.
|
||||
FieldMaterialCode = "material_code"
|
||||
// FieldMaterialName holds the string denoting the material_name field in the database.
|
||||
FieldMaterialName = "material_name"
|
||||
// FieldManageMode holds the string denoting the manage_mode field in the database.
|
||||
FieldManageMode = "manage_mode"
|
||||
// FieldBatchNo holds the string denoting the batch_no field in the database.
|
||||
FieldBatchNo = "batch_no"
|
||||
// FieldZoneCode holds the string denoting the zone_code field in the database.
|
||||
FieldZoneCode = "zone_code"
|
||||
// FieldQuantity holds the string denoting the quantity field in the database.
|
||||
FieldQuantity = "quantity"
|
||||
// FieldOperator holds the string denoting the operator field in the database.
|
||||
FieldOperator = "operator"
|
||||
// FieldRemark holds the string denoting the remark field in the database.
|
||||
FieldRemark = "remark"
|
||||
// FieldCreatedAt holds the string denoting the created_at field in the database.
|
||||
FieldCreatedAt = "created_at"
|
||||
// Table holds the table name of the inboundorder in the database.
|
||||
Table = "inbound_orders"
|
||||
)
|
||||
|
||||
// Columns holds all SQL columns for inboundorder fields.
|
||||
var Columns = []string{
|
||||
FieldID,
|
||||
FieldInboundNo,
|
||||
FieldInboundType,
|
||||
FieldMaterialCode,
|
||||
FieldMaterialName,
|
||||
FieldManageMode,
|
||||
FieldBatchNo,
|
||||
FieldZoneCode,
|
||||
FieldQuantity,
|
||||
FieldOperator,
|
||||
FieldRemark,
|
||||
FieldCreatedAt,
|
||||
}
|
||||
|
||||
// ValidColumn reports if the column name is valid (part of the table columns).
|
||||
func ValidColumn(column string) bool {
|
||||
for i := range Columns {
|
||||
if column == Columns[i] {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var (
|
||||
// DefaultInboundType holds the default value on creation for the "inbound_type" field.
|
||||
DefaultInboundType string
|
||||
// DefaultManageMode holds the default value on creation for the "manage_mode" field.
|
||||
DefaultManageMode int
|
||||
// DefaultQuantity holds the default value on creation for the "quantity" field.
|
||||
DefaultQuantity int
|
||||
// DefaultCreatedAt holds the default value on creation for the "created_at" field.
|
||||
DefaultCreatedAt func() int64
|
||||
)
|
||||
|
||||
// OrderOption defines the ordering options for the InboundOrder queries.
|
||||
type OrderOption func(*sql.Selector)
|
||||
|
||||
// ByID orders the results by the id field.
|
||||
func ByID(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldID, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByInboundNo orders the results by the inbound_no field.
|
||||
func ByInboundNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldInboundNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByInboundType orders the results by the inbound_type field.
|
||||
func ByInboundType(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldInboundType, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByMaterialCode orders the results by the material_code field.
|
||||
func ByMaterialCode(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldMaterialCode, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByMaterialName orders the results by the material_name field.
|
||||
func ByMaterialName(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldMaterialName, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByManageMode orders the results by the manage_mode field.
|
||||
func ByManageMode(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldManageMode, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByBatchNo orders the results by the batch_no field.
|
||||
func ByBatchNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldBatchNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByZoneCode orders the results by the zone_code field.
|
||||
func ByZoneCode(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldZoneCode, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByQuantity orders the results by the quantity field.
|
||||
func ByQuantity(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldQuantity, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByOperator orders the results by the operator field.
|
||||
func ByOperator(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldOperator, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByRemark orders the results by the remark field.
|
||||
func ByRemark(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldRemark, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreatedAt orders the results by the created_at field.
|
||||
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreatedAt, opts...).ToFunc()
|
||||
}
|
||||
@@ -0,0 +1,814 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package inboundorder
|
||||
|
||||
import (
|
||||
"bj_power_wms/ent/predicate"
|
||||
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
func ID(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDEQ applies the EQ predicate on the ID field.
|
||||
func IDEQ(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDNEQ applies the NEQ predicate on the ID field.
|
||||
func IDNEQ(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDIn applies the In predicate on the ID field.
|
||||
func IDIn(ids ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDNotIn applies the NotIn predicate on the ID field.
|
||||
func IDNotIn(ids ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDGT applies the GT predicate on the ID field.
|
||||
func IDGT(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDGTE applies the GTE predicate on the ID field.
|
||||
func IDGTE(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLT applies the LT predicate on the ID field.
|
||||
func IDLT(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLTE applies the LTE predicate on the ID field.
|
||||
func IDLTE(id int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// InboundNo applies equality check predicate on the "inbound_no" field. It's identical to InboundNoEQ.
|
||||
func InboundNo(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundType applies equality check predicate on the "inbound_type" field. It's identical to InboundTypeEQ.
|
||||
func InboundType(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
|
||||
func MaterialCode(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
|
||||
func MaterialName(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// ManageMode applies equality check predicate on the "manage_mode" field. It's identical to ManageModeEQ.
|
||||
func ManageMode(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
|
||||
func BatchNo(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
|
||||
func ZoneCode(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
|
||||
func Quantity(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
||||
func Operator(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
||||
func Remark(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// InboundNoEQ applies the EQ predicate on the "inbound_no" field.
|
||||
func InboundNoEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoNEQ applies the NEQ predicate on the "inbound_no" field.
|
||||
func InboundNoNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoIn applies the In predicate on the "inbound_no" field.
|
||||
func InboundNoIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldInboundNo, vs...))
|
||||
}
|
||||
|
||||
// InboundNoNotIn applies the NotIn predicate on the "inbound_no" field.
|
||||
func InboundNoNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldInboundNo, vs...))
|
||||
}
|
||||
|
||||
// InboundNoGT applies the GT predicate on the "inbound_no" field.
|
||||
func InboundNoGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoGTE applies the GTE predicate on the "inbound_no" field.
|
||||
func InboundNoGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoLT applies the LT predicate on the "inbound_no" field.
|
||||
func InboundNoLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoLTE applies the LTE predicate on the "inbound_no" field.
|
||||
func InboundNoLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoContains applies the Contains predicate on the "inbound_no" field.
|
||||
func InboundNoContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoHasPrefix applies the HasPrefix predicate on the "inbound_no" field.
|
||||
func InboundNoHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoHasSuffix applies the HasSuffix predicate on the "inbound_no" field.
|
||||
func InboundNoHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoEqualFold applies the EqualFold predicate on the "inbound_no" field.
|
||||
func InboundNoEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundNoContainsFold applies the ContainsFold predicate on the "inbound_no" field.
|
||||
func InboundNoContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldInboundNo, v))
|
||||
}
|
||||
|
||||
// InboundTypeEQ applies the EQ predicate on the "inbound_type" field.
|
||||
func InboundTypeEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeNEQ applies the NEQ predicate on the "inbound_type" field.
|
||||
func InboundTypeNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeIn applies the In predicate on the "inbound_type" field.
|
||||
func InboundTypeIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldInboundType, vs...))
|
||||
}
|
||||
|
||||
// InboundTypeNotIn applies the NotIn predicate on the "inbound_type" field.
|
||||
func InboundTypeNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldInboundType, vs...))
|
||||
}
|
||||
|
||||
// InboundTypeGT applies the GT predicate on the "inbound_type" field.
|
||||
func InboundTypeGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeGTE applies the GTE predicate on the "inbound_type" field.
|
||||
func InboundTypeGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeLT applies the LT predicate on the "inbound_type" field.
|
||||
func InboundTypeLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeLTE applies the LTE predicate on the "inbound_type" field.
|
||||
func InboundTypeLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeContains applies the Contains predicate on the "inbound_type" field.
|
||||
func InboundTypeContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeHasPrefix applies the HasPrefix predicate on the "inbound_type" field.
|
||||
func InboundTypeHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeHasSuffix applies the HasSuffix predicate on the "inbound_type" field.
|
||||
func InboundTypeHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeEqualFold applies the EqualFold predicate on the "inbound_type" field.
|
||||
func InboundTypeEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// InboundTypeContainsFold applies the ContainsFold predicate on the "inbound_type" field.
|
||||
func InboundTypeContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldInboundType, v))
|
||||
}
|
||||
|
||||
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
|
||||
func MaterialCodeEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
|
||||
func MaterialCodeNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeIn applies the In predicate on the "material_code" field.
|
||||
func MaterialCodeIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldMaterialCode, vs...))
|
||||
}
|
||||
|
||||
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
|
||||
func MaterialCodeNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldMaterialCode, vs...))
|
||||
}
|
||||
|
||||
// MaterialCodeGT applies the GT predicate on the "material_code" field.
|
||||
func MaterialCodeGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
|
||||
func MaterialCodeGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeLT applies the LT predicate on the "material_code" field.
|
||||
func MaterialCodeLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
|
||||
func MaterialCodeLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
|
||||
func MaterialCodeContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
|
||||
func MaterialCodeHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
|
||||
func MaterialCodeHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
|
||||
func MaterialCodeEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
|
||||
func MaterialCodeContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
|
||||
func MaterialNameEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
|
||||
func MaterialNameNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameIn applies the In predicate on the "material_name" field.
|
||||
func MaterialNameIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldMaterialName, vs...))
|
||||
}
|
||||
|
||||
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
|
||||
func MaterialNameNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldMaterialName, vs...))
|
||||
}
|
||||
|
||||
// MaterialNameGT applies the GT predicate on the "material_name" field.
|
||||
func MaterialNameGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
|
||||
func MaterialNameGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameLT applies the LT predicate on the "material_name" field.
|
||||
func MaterialNameLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
|
||||
func MaterialNameLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameContains applies the Contains predicate on the "material_name" field.
|
||||
func MaterialNameContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
|
||||
func MaterialNameHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
|
||||
func MaterialNameHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
|
||||
func MaterialNameIsNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIsNull(FieldMaterialName))
|
||||
}
|
||||
|
||||
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
|
||||
func MaterialNameNotNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotNull(FieldMaterialName))
|
||||
}
|
||||
|
||||
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
|
||||
func MaterialNameEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
|
||||
func MaterialNameContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldMaterialName, v))
|
||||
}
|
||||
|
||||
// ManageModeEQ applies the EQ predicate on the "manage_mode" field.
|
||||
func ManageModeEQ(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// ManageModeNEQ applies the NEQ predicate on the "manage_mode" field.
|
||||
func ManageModeNEQ(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// ManageModeIn applies the In predicate on the "manage_mode" field.
|
||||
func ManageModeIn(vs ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldManageMode, vs...))
|
||||
}
|
||||
|
||||
// ManageModeNotIn applies the NotIn predicate on the "manage_mode" field.
|
||||
func ManageModeNotIn(vs ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldManageMode, vs...))
|
||||
}
|
||||
|
||||
// ManageModeGT applies the GT predicate on the "manage_mode" field.
|
||||
func ManageModeGT(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// ManageModeGTE applies the GTE predicate on the "manage_mode" field.
|
||||
func ManageModeGTE(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// ManageModeLT applies the LT predicate on the "manage_mode" field.
|
||||
func ManageModeLT(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// ManageModeLTE applies the LTE predicate on the "manage_mode" field.
|
||||
func ManageModeLTE(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldManageMode, v))
|
||||
}
|
||||
|
||||
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
|
||||
func BatchNoEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
|
||||
func BatchNoNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoIn applies the In predicate on the "batch_no" field.
|
||||
func BatchNoIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldBatchNo, vs...))
|
||||
}
|
||||
|
||||
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
|
||||
func BatchNoNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldBatchNo, vs...))
|
||||
}
|
||||
|
||||
// BatchNoGT applies the GT predicate on the "batch_no" field.
|
||||
func BatchNoGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
|
||||
func BatchNoGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoLT applies the LT predicate on the "batch_no" field.
|
||||
func BatchNoLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
|
||||
func BatchNoLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoContains applies the Contains predicate on the "batch_no" field.
|
||||
func BatchNoContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
|
||||
func BatchNoHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
|
||||
func BatchNoHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoIsNil applies the IsNil predicate on the "batch_no" field.
|
||||
func BatchNoIsNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIsNull(FieldBatchNo))
|
||||
}
|
||||
|
||||
// BatchNoNotNil applies the NotNil predicate on the "batch_no" field.
|
||||
func BatchNoNotNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotNull(FieldBatchNo))
|
||||
}
|
||||
|
||||
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
|
||||
func BatchNoEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
|
||||
func BatchNoContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
|
||||
func ZoneCodeEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
|
||||
func ZoneCodeNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeIn applies the In predicate on the "zone_code" field.
|
||||
func ZoneCodeIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldZoneCode, vs...))
|
||||
}
|
||||
|
||||
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
|
||||
func ZoneCodeNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldZoneCode, vs...))
|
||||
}
|
||||
|
||||
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
|
||||
func ZoneCodeGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
|
||||
func ZoneCodeGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
|
||||
func ZoneCodeLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
|
||||
func ZoneCodeLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
|
||||
func ZoneCodeContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
|
||||
func ZoneCodeHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
|
||||
func ZoneCodeHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeIsNil applies the IsNil predicate on the "zone_code" field.
|
||||
func ZoneCodeIsNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIsNull(FieldZoneCode))
|
||||
}
|
||||
|
||||
// ZoneCodeNotNil applies the NotNil predicate on the "zone_code" field.
|
||||
func ZoneCodeNotNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotNull(FieldZoneCode))
|
||||
}
|
||||
|
||||
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
|
||||
func ZoneCodeEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
|
||||
func ZoneCodeContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldZoneCode, v))
|
||||
}
|
||||
|
||||
// QuantityEQ applies the EQ predicate on the "quantity" field.
|
||||
func QuantityEQ(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
|
||||
func QuantityNEQ(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityIn applies the In predicate on the "quantity" field.
|
||||
func QuantityIn(vs ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldQuantity, vs...))
|
||||
}
|
||||
|
||||
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
|
||||
func QuantityNotIn(vs ...int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldQuantity, vs...))
|
||||
}
|
||||
|
||||
// QuantityGT applies the GT predicate on the "quantity" field.
|
||||
func QuantityGT(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityGTE applies the GTE predicate on the "quantity" field.
|
||||
func QuantityGTE(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityLT applies the LT predicate on the "quantity" field.
|
||||
func QuantityLT(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityLTE applies the LTE predicate on the "quantity" field.
|
||||
func QuantityLTE(v int) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||||
func OperatorEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
||||
func OperatorNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorIn applies the In predicate on the "operator" field.
|
||||
func OperatorIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
||||
func OperatorNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorGT applies the GT predicate on the "operator" field.
|
||||
func OperatorGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorGTE applies the GTE predicate on the "operator" field.
|
||||
func OperatorGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLT applies the LT predicate on the "operator" field.
|
||||
func OperatorLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLTE applies the LTE predicate on the "operator" field.
|
||||
func OperatorLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContains applies the Contains predicate on the "operator" field.
|
||||
func OperatorContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
||||
func OperatorHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
||||
func OperatorHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorIsNil applies the IsNil predicate on the "operator" field.
|
||||
func OperatorIsNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIsNull(FieldOperator))
|
||||
}
|
||||
|
||||
// OperatorNotNil applies the NotNil predicate on the "operator" field.
|
||||
func OperatorNotNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotNull(FieldOperator))
|
||||
}
|
||||
|
||||
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
||||
func OperatorEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
||||
func OperatorContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// RemarkEQ applies the EQ predicate on the "remark" field.
|
||||
func RemarkEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
||||
func RemarkNEQ(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkIn applies the In predicate on the "remark" field.
|
||||
func RemarkIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldRemark, vs...))
|
||||
}
|
||||
|
||||
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
||||
func RemarkNotIn(vs ...string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldRemark, vs...))
|
||||
}
|
||||
|
||||
// RemarkGT applies the GT predicate on the "remark" field.
|
||||
func RemarkGT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkGTE applies the GTE predicate on the "remark" field.
|
||||
func RemarkGTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkLT applies the LT predicate on the "remark" field.
|
||||
func RemarkLT(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkLTE applies the LTE predicate on the "remark" field.
|
||||
func RemarkLTE(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkContains applies the Contains predicate on the "remark" field.
|
||||
func RemarkContains(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContains(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
||||
func RemarkHasPrefix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasPrefix(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
||||
func RemarkHasSuffix(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldHasSuffix(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkIsNil applies the IsNil predicate on the "remark" field.
|
||||
func RemarkIsNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIsNull(FieldRemark))
|
||||
}
|
||||
|
||||
// RemarkNotNil applies the NotNil predicate on the "remark" field.
|
||||
func RemarkNotNil() predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotNull(FieldRemark))
|
||||
}
|
||||
|
||||
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
||||
func RemarkEqualFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEqualFold(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
||||
func RemarkContainsFold(v string) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldContainsFold(FieldRemark, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
||||
func CreatedAtNEQ(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtIn applies the In predicate on the "created_at" field.
|
||||
func CreatedAtIn(vs ...int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
||||
func CreatedAtNotIn(vs ...int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
||||
func CreatedAtGT(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
||||
func CreatedAtGTE(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
||||
func CreatedAtLT(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
||||
func CreatedAtLTE(v int64) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.FieldLTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// And groups predicates with the AND operator between them.
|
||||
func And(predicates ...predicate.InboundOrder) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.AndPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Or groups predicates with the OR operator between them.
|
||||
func Or(predicates ...predicate.InboundOrder) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.OrPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Not applies the not operator on the given predicate.
|
||||
func Not(p predicate.InboundOrder) predicate.InboundOrder {
|
||||
return predicate.InboundOrder(sql.NotPredicates(p))
|
||||
}
|
||||
Reference in New Issue
Block a user