- 新增 SyncFailure 实体:MES/WMS 两端 schema 源 + ent 生成码(create/delete/query/update 及子包) - ent 框架文件全量重生成:client/ent/hook/migrate/mutation/predicate/runtime/tx - 清理旧代码生成入口:删除 schema/gen.go 与 schema/tools/generate.go - 同步失败页面调整:MES/WMS SyncFailure.vue 接入新实体,MES 产品工艺页同步调整 - 主程序入口注册新实体:bj_power_mes.go / bj_power_wms.go,工作站 main.go 同步调整 - 更新文档:WMS README、案例、问题记录;刷新 MES/WMS 前端构建产物
835 lines
31 KiB
Go
835 lines
31 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package syncfailure
|
|
|
|
import (
|
|
"bj_power_mes/ent/predicate"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// Direction applies equality check predicate on the "direction" field. It's identical to DirectionEQ.
|
|
func Direction(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldDirection, v))
|
|
}
|
|
|
|
// BizType applies equality check predicate on the "biz_type" field. It's identical to BizTypeEQ.
|
|
func BizType(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldBizType, v))
|
|
}
|
|
|
|
// BizKey applies equality check predicate on the "biz_key" field. It's identical to BizKeyEQ.
|
|
func BizKey(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldBizKey, v))
|
|
}
|
|
|
|
// Endpoint applies equality check predicate on the "endpoint" field. It's identical to EndpointEQ.
|
|
func Endpoint(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldEndpoint, v))
|
|
}
|
|
|
|
// PayloadJSON applies equality check predicate on the "payload_json" field. It's identical to PayloadJSONEQ.
|
|
func PayloadJSON(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// ErrorMsg applies equality check predicate on the "error_msg" field. It's identical to ErrorMsgEQ.
|
|
func ErrorMsg(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldErrorMsg, v))
|
|
}
|
|
|
|
// IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
|
|
func IdempotencyKey(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
|
|
func RetryCount(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldRetryCount, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// LastErrorAt applies equality check predicate on the "last_error_at" field. It's identical to LastErrorAtEQ.
|
|
func LastErrorAt(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// HandledBy applies equality check predicate on the "handled_by" field. It's identical to HandledByEQ.
|
|
func HandledBy(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldHandledBy, v))
|
|
}
|
|
|
|
// DirectionEQ applies the EQ predicate on the "direction" field.
|
|
func DirectionEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionNEQ applies the NEQ predicate on the "direction" field.
|
|
func DirectionNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionIn applies the In predicate on the "direction" field.
|
|
func DirectionIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldDirection, vs...))
|
|
}
|
|
|
|
// DirectionNotIn applies the NotIn predicate on the "direction" field.
|
|
func DirectionNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldDirection, vs...))
|
|
}
|
|
|
|
// DirectionGT applies the GT predicate on the "direction" field.
|
|
func DirectionGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionGTE applies the GTE predicate on the "direction" field.
|
|
func DirectionGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionLT applies the LT predicate on the "direction" field.
|
|
func DirectionLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionLTE applies the LTE predicate on the "direction" field.
|
|
func DirectionLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionContains applies the Contains predicate on the "direction" field.
|
|
func DirectionContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionHasPrefix applies the HasPrefix predicate on the "direction" field.
|
|
func DirectionHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionHasSuffix applies the HasSuffix predicate on the "direction" field.
|
|
func DirectionHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionEqualFold applies the EqualFold predicate on the "direction" field.
|
|
func DirectionEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldDirection, v))
|
|
}
|
|
|
|
// DirectionContainsFold applies the ContainsFold predicate on the "direction" field.
|
|
func DirectionContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldDirection, v))
|
|
}
|
|
|
|
// BizTypeEQ applies the EQ predicate on the "biz_type" field.
|
|
func BizTypeEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeNEQ applies the NEQ predicate on the "biz_type" field.
|
|
func BizTypeNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeIn applies the In predicate on the "biz_type" field.
|
|
func BizTypeIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldBizType, vs...))
|
|
}
|
|
|
|
// BizTypeNotIn applies the NotIn predicate on the "biz_type" field.
|
|
func BizTypeNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldBizType, vs...))
|
|
}
|
|
|
|
// BizTypeGT applies the GT predicate on the "biz_type" field.
|
|
func BizTypeGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeGTE applies the GTE predicate on the "biz_type" field.
|
|
func BizTypeGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeLT applies the LT predicate on the "biz_type" field.
|
|
func BizTypeLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeLTE applies the LTE predicate on the "biz_type" field.
|
|
func BizTypeLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeContains applies the Contains predicate on the "biz_type" field.
|
|
func BizTypeContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeHasPrefix applies the HasPrefix predicate on the "biz_type" field.
|
|
func BizTypeHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeHasSuffix applies the HasSuffix predicate on the "biz_type" field.
|
|
func BizTypeHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeEqualFold applies the EqualFold predicate on the "biz_type" field.
|
|
func BizTypeEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldBizType, v))
|
|
}
|
|
|
|
// BizTypeContainsFold applies the ContainsFold predicate on the "biz_type" field.
|
|
func BizTypeContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldBizType, v))
|
|
}
|
|
|
|
// BizKeyEQ applies the EQ predicate on the "biz_key" field.
|
|
func BizKeyEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyNEQ applies the NEQ predicate on the "biz_key" field.
|
|
func BizKeyNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyIn applies the In predicate on the "biz_key" field.
|
|
func BizKeyIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldBizKey, vs...))
|
|
}
|
|
|
|
// BizKeyNotIn applies the NotIn predicate on the "biz_key" field.
|
|
func BizKeyNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldBizKey, vs...))
|
|
}
|
|
|
|
// BizKeyGT applies the GT predicate on the "biz_key" field.
|
|
func BizKeyGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyGTE applies the GTE predicate on the "biz_key" field.
|
|
func BizKeyGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyLT applies the LT predicate on the "biz_key" field.
|
|
func BizKeyLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyLTE applies the LTE predicate on the "biz_key" field.
|
|
func BizKeyLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyContains applies the Contains predicate on the "biz_key" field.
|
|
func BizKeyContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyHasPrefix applies the HasPrefix predicate on the "biz_key" field.
|
|
func BizKeyHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyHasSuffix applies the HasSuffix predicate on the "biz_key" field.
|
|
func BizKeyHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyEqualFold applies the EqualFold predicate on the "biz_key" field.
|
|
func BizKeyEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldBizKey, v))
|
|
}
|
|
|
|
// BizKeyContainsFold applies the ContainsFold predicate on the "biz_key" field.
|
|
func BizKeyContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldBizKey, v))
|
|
}
|
|
|
|
// EndpointEQ applies the EQ predicate on the "endpoint" field.
|
|
func EndpointEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointNEQ applies the NEQ predicate on the "endpoint" field.
|
|
func EndpointNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointIn applies the In predicate on the "endpoint" field.
|
|
func EndpointIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldEndpoint, vs...))
|
|
}
|
|
|
|
// EndpointNotIn applies the NotIn predicate on the "endpoint" field.
|
|
func EndpointNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldEndpoint, vs...))
|
|
}
|
|
|
|
// EndpointGT applies the GT predicate on the "endpoint" field.
|
|
func EndpointGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointGTE applies the GTE predicate on the "endpoint" field.
|
|
func EndpointGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointLT applies the LT predicate on the "endpoint" field.
|
|
func EndpointLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointLTE applies the LTE predicate on the "endpoint" field.
|
|
func EndpointLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointContains applies the Contains predicate on the "endpoint" field.
|
|
func EndpointContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointHasPrefix applies the HasPrefix predicate on the "endpoint" field.
|
|
func EndpointHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointHasSuffix applies the HasSuffix predicate on the "endpoint" field.
|
|
func EndpointHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointEqualFold applies the EqualFold predicate on the "endpoint" field.
|
|
func EndpointEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldEndpoint, v))
|
|
}
|
|
|
|
// EndpointContainsFold applies the ContainsFold predicate on the "endpoint" field.
|
|
func EndpointContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldEndpoint, v))
|
|
}
|
|
|
|
// PayloadJSONEQ applies the EQ predicate on the "payload_json" field.
|
|
func PayloadJSONEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONNEQ applies the NEQ predicate on the "payload_json" field.
|
|
func PayloadJSONNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONIn applies the In predicate on the "payload_json" field.
|
|
func PayloadJSONIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldPayloadJSON, vs...))
|
|
}
|
|
|
|
// PayloadJSONNotIn applies the NotIn predicate on the "payload_json" field.
|
|
func PayloadJSONNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldPayloadJSON, vs...))
|
|
}
|
|
|
|
// PayloadJSONGT applies the GT predicate on the "payload_json" field.
|
|
func PayloadJSONGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONGTE applies the GTE predicate on the "payload_json" field.
|
|
func PayloadJSONGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONLT applies the LT predicate on the "payload_json" field.
|
|
func PayloadJSONLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONLTE applies the LTE predicate on the "payload_json" field.
|
|
func PayloadJSONLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONContains applies the Contains predicate on the "payload_json" field.
|
|
func PayloadJSONContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONHasPrefix applies the HasPrefix predicate on the "payload_json" field.
|
|
func PayloadJSONHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONHasSuffix applies the HasSuffix predicate on the "payload_json" field.
|
|
func PayloadJSONHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONEqualFold applies the EqualFold predicate on the "payload_json" field.
|
|
func PayloadJSONEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// PayloadJSONContainsFold applies the ContainsFold predicate on the "payload_json" field.
|
|
func PayloadJSONContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldPayloadJSON, v))
|
|
}
|
|
|
|
// ErrorMsgEQ applies the EQ predicate on the "error_msg" field.
|
|
func ErrorMsgEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgNEQ applies the NEQ predicate on the "error_msg" field.
|
|
func ErrorMsgNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgIn applies the In predicate on the "error_msg" field.
|
|
func ErrorMsgIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldErrorMsg, vs...))
|
|
}
|
|
|
|
// ErrorMsgNotIn applies the NotIn predicate on the "error_msg" field.
|
|
func ErrorMsgNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldErrorMsg, vs...))
|
|
}
|
|
|
|
// ErrorMsgGT applies the GT predicate on the "error_msg" field.
|
|
func ErrorMsgGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgGTE applies the GTE predicate on the "error_msg" field.
|
|
func ErrorMsgGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgLT applies the LT predicate on the "error_msg" field.
|
|
func ErrorMsgLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgLTE applies the LTE predicate on the "error_msg" field.
|
|
func ErrorMsgLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgContains applies the Contains predicate on the "error_msg" field.
|
|
func ErrorMsgContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgHasPrefix applies the HasPrefix predicate on the "error_msg" field.
|
|
func ErrorMsgHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgHasSuffix applies the HasSuffix predicate on the "error_msg" field.
|
|
func ErrorMsgHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgEqualFold applies the EqualFold predicate on the "error_msg" field.
|
|
func ErrorMsgEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldErrorMsg, v))
|
|
}
|
|
|
|
// ErrorMsgContainsFold applies the ContainsFold predicate on the "error_msg" field.
|
|
func ErrorMsgContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldErrorMsg, v))
|
|
}
|
|
|
|
// IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldIdempotencyKey, vs...))
|
|
}
|
|
|
|
// IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldIdempotencyKey, vs...))
|
|
}
|
|
|
|
// IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
|
|
func IdempotencyKeyContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldIdempotencyKey, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// RetryCountEQ applies the EQ predicate on the "retry_count" field.
|
|
func RetryCountEQ(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldRetryCount, v))
|
|
}
|
|
|
|
// RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
|
|
func RetryCountNEQ(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldRetryCount, v))
|
|
}
|
|
|
|
// RetryCountIn applies the In predicate on the "retry_count" field.
|
|
func RetryCountIn(vs ...int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldRetryCount, vs...))
|
|
}
|
|
|
|
// RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
|
|
func RetryCountNotIn(vs ...int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldRetryCount, vs...))
|
|
}
|
|
|
|
// RetryCountGT applies the GT predicate on the "retry_count" field.
|
|
func RetryCountGT(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldRetryCount, v))
|
|
}
|
|
|
|
// RetryCountGTE applies the GTE predicate on the "retry_count" field.
|
|
func RetryCountGTE(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldRetryCount, v))
|
|
}
|
|
|
|
// RetryCountLT applies the LT predicate on the "retry_count" field.
|
|
func RetryCountLT(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldRetryCount, v))
|
|
}
|
|
|
|
// RetryCountLTE applies the LTE predicate on the "retry_count" field.
|
|
func RetryCountLTE(v int32) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldRetryCount, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// LastErrorAtEQ applies the EQ predicate on the "last_error_at" field.
|
|
func LastErrorAtEQ(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// LastErrorAtNEQ applies the NEQ predicate on the "last_error_at" field.
|
|
func LastErrorAtNEQ(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// LastErrorAtIn applies the In predicate on the "last_error_at" field.
|
|
func LastErrorAtIn(vs ...int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldLastErrorAt, vs...))
|
|
}
|
|
|
|
// LastErrorAtNotIn applies the NotIn predicate on the "last_error_at" field.
|
|
func LastErrorAtNotIn(vs ...int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldLastErrorAt, vs...))
|
|
}
|
|
|
|
// LastErrorAtGT applies the GT predicate on the "last_error_at" field.
|
|
func LastErrorAtGT(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// LastErrorAtGTE applies the GTE predicate on the "last_error_at" field.
|
|
func LastErrorAtGTE(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// LastErrorAtLT applies the LT predicate on the "last_error_at" field.
|
|
func LastErrorAtLT(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// LastErrorAtLTE applies the LTE predicate on the "last_error_at" field.
|
|
func LastErrorAtLTE(v int64) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldLastErrorAt, v))
|
|
}
|
|
|
|
// HandledByEQ applies the EQ predicate on the "handled_by" field.
|
|
func HandledByEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEQ(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByNEQ applies the NEQ predicate on the "handled_by" field.
|
|
func HandledByNEQ(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNEQ(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByIn applies the In predicate on the "handled_by" field.
|
|
func HandledByIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldIn(FieldHandledBy, vs...))
|
|
}
|
|
|
|
// HandledByNotIn applies the NotIn predicate on the "handled_by" field.
|
|
func HandledByNotIn(vs ...string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldNotIn(FieldHandledBy, vs...))
|
|
}
|
|
|
|
// HandledByGT applies the GT predicate on the "handled_by" field.
|
|
func HandledByGT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGT(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByGTE applies the GTE predicate on the "handled_by" field.
|
|
func HandledByGTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldGTE(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByLT applies the LT predicate on the "handled_by" field.
|
|
func HandledByLT(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLT(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByLTE applies the LTE predicate on the "handled_by" field.
|
|
func HandledByLTE(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldLTE(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByContains applies the Contains predicate on the "handled_by" field.
|
|
func HandledByContains(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContains(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByHasPrefix applies the HasPrefix predicate on the "handled_by" field.
|
|
func HandledByHasPrefix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasPrefix(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByHasSuffix applies the HasSuffix predicate on the "handled_by" field.
|
|
func HandledByHasSuffix(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldHasSuffix(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByEqualFold applies the EqualFold predicate on the "handled_by" field.
|
|
func HandledByEqualFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldEqualFold(FieldHandledBy, v))
|
|
}
|
|
|
|
// HandledByContainsFold applies the ContainsFold predicate on the "handled_by" field.
|
|
func HandledByContainsFold(v string) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.FieldContainsFold(FieldHandledBy, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.SyncFailure) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.SyncFailure) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.SyncFailure) predicate.SyncFailure {
|
|
return predicate.SyncFailure(sql.NotPredicates(p))
|
|
}
|