1. 新增出库单检测单号字段并添加索引支持溯源 2. 优化基础数据页面物料类型展示与选择逻辑 3. 升级入库单导入功能,支持自动生成单号并返回导入结果 4. 优化接驳台查询排序方式 5. 修复字符串拼接空格问题
1755 lines
72 KiB
Go
1755 lines
72 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package inspectionrecord
|
|
|
|
import (
|
|
"bj_power_wms/predicate"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// TargetType applies equality check predicate on the "target_type" field. It's identical to TargetTypeEQ.
|
|
func TargetType(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetID applies equality check predicate on the "target_id" field. It's identical to TargetIDEQ.
|
|
func TargetID(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
|
|
func MaterialCode(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
|
|
func MaterialName(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// OwnershipType applies equality check predicate on the "ownership_type" field. It's identical to OwnershipTypeEQ.
|
|
func OwnershipType(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipNo applies equality check predicate on the "ownership_no" field. It's identical to OwnershipNoEQ.
|
|
func OwnershipNo(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// RelatedStandard applies equality check predicate on the "related_standard" field. It's identical to RelatedStandardEQ.
|
|
func RelatedStandard(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// Manufacturer applies equality check predicate on the "manufacturer" field. It's identical to ManufacturerEQ.
|
|
func Manufacturer(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldManufacturer, v))
|
|
}
|
|
|
|
// InspectionType applies equality check predicate on the "inspection_type" field. It's identical to InspectionTypeEQ.
|
|
func InspectionType(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectionType, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// ResultValue applies equality check predicate on the "result_value" field. It's identical to ResultValueEQ.
|
|
func ResultValue(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldResultValue, v))
|
|
}
|
|
|
|
// InspectQty applies equality check predicate on the "inspect_qty" field. It's identical to InspectQtyEQ.
|
|
func InspectQty(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectQty, v))
|
|
}
|
|
|
|
// PassQty applies equality check predicate on the "pass_qty" field. It's identical to PassQtyEQ.
|
|
func PassQty(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldPassQty, v))
|
|
}
|
|
|
|
// RejectQty applies equality check predicate on the "reject_qty" field. It's identical to RejectQtyEQ.
|
|
func RejectQty(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRejectQty, v))
|
|
}
|
|
|
|
// CheckDesc applies equality check predicate on the "check_desc" field. It's identical to CheckDescEQ.
|
|
func CheckDesc(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldCheckDesc, v))
|
|
}
|
|
|
|
// Inspector applies equality check predicate on the "inspector" field. It's identical to InspectorEQ.
|
|
func Inspector(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspector, v))
|
|
}
|
|
|
|
// InspectionNo applies equality check predicate on the "inspection_no" field. It's identical to InspectionNoEQ.
|
|
func InspectionNo(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectionNo, v))
|
|
}
|
|
|
|
// ReportNo applies equality check predicate on the "report_no" field. It's identical to ReportNoEQ.
|
|
func ReportNo(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldReportNo, v))
|
|
}
|
|
|
|
// DisposalType applies equality check predicate on the "disposal_type" field. It's identical to DisposalTypeEQ.
|
|
func DisposalType(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalRemark applies equality check predicate on the "disposal_remark" field. It's identical to DisposalRemarkEQ.
|
|
func DisposalRemark(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// ReturnTrackingNo applies equality check predicate on the "return_tracking_no" field. It's identical to ReturnTrackingNoEQ.
|
|
func ReturnTrackingNo(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
|
func Remark(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
|
|
func UpdatedAt(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// TargetTypeEQ applies the EQ predicate on the "target_type" field.
|
|
func TargetTypeEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeNEQ applies the NEQ predicate on the "target_type" field.
|
|
func TargetTypeNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeIn applies the In predicate on the "target_type" field.
|
|
func TargetTypeIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldTargetType, vs...))
|
|
}
|
|
|
|
// TargetTypeNotIn applies the NotIn predicate on the "target_type" field.
|
|
func TargetTypeNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldTargetType, vs...))
|
|
}
|
|
|
|
// TargetTypeGT applies the GT predicate on the "target_type" field.
|
|
func TargetTypeGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeGTE applies the GTE predicate on the "target_type" field.
|
|
func TargetTypeGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeLT applies the LT predicate on the "target_type" field.
|
|
func TargetTypeLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeLTE applies the LTE predicate on the "target_type" field.
|
|
func TargetTypeLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeContains applies the Contains predicate on the "target_type" field.
|
|
func TargetTypeContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeHasPrefix applies the HasPrefix predicate on the "target_type" field.
|
|
func TargetTypeHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeHasSuffix applies the HasSuffix predicate on the "target_type" field.
|
|
func TargetTypeHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeEqualFold applies the EqualFold predicate on the "target_type" field.
|
|
func TargetTypeEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeContainsFold applies the ContainsFold predicate on the "target_type" field.
|
|
func TargetTypeContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetIDEQ applies the EQ predicate on the "target_id" field.
|
|
func TargetIDEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDNEQ applies the NEQ predicate on the "target_id" field.
|
|
func TargetIDNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDIn applies the In predicate on the "target_id" field.
|
|
func TargetIDIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldTargetID, vs...))
|
|
}
|
|
|
|
// TargetIDNotIn applies the NotIn predicate on the "target_id" field.
|
|
func TargetIDNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldTargetID, vs...))
|
|
}
|
|
|
|
// TargetIDGT applies the GT predicate on the "target_id" field.
|
|
func TargetIDGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDGTE applies the GTE predicate on the "target_id" field.
|
|
func TargetIDGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDLT applies the LT predicate on the "target_id" field.
|
|
func TargetIDLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDLTE applies the LTE predicate on the "target_id" field.
|
|
func TargetIDLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDContains applies the Contains predicate on the "target_id" field.
|
|
func TargetIDContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDHasPrefix applies the HasPrefix predicate on the "target_id" field.
|
|
func TargetIDHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDHasSuffix applies the HasSuffix predicate on the "target_id" field.
|
|
func TargetIDHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDEqualFold applies the EqualFold predicate on the "target_id" field.
|
|
func TargetIDEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDContainsFold applies the ContainsFold predicate on the "target_id" field.
|
|
func TargetIDContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldTargetID, v))
|
|
}
|
|
|
|
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
|
|
func MaterialCodeEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
|
|
func MaterialCodeNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeIn applies the In predicate on the "material_code" field.
|
|
func MaterialCodeIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
|
|
func MaterialCodeNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeGT applies the GT predicate on the "material_code" field.
|
|
func MaterialCodeGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
|
|
func MaterialCodeGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLT applies the LT predicate on the "material_code" field.
|
|
func MaterialCodeLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
|
|
func MaterialCodeLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
|
|
func MaterialCodeContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
|
|
func MaterialCodeHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
|
|
func MaterialCodeHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
|
|
func MaterialCodeEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
|
|
func MaterialCodeContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
|
|
func MaterialNameEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
|
|
func MaterialNameNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameIn applies the In predicate on the "material_name" field.
|
|
func MaterialNameIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
|
|
func MaterialNameNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldMaterialName, vs...))
|
|
}
|
|
|
|
// MaterialNameGT applies the GT predicate on the "material_name" field.
|
|
func MaterialNameGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
|
|
func MaterialNameGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLT applies the LT predicate on the "material_name" field.
|
|
func MaterialNameLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
|
|
func MaterialNameLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContains applies the Contains predicate on the "material_name" field.
|
|
func MaterialNameContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
|
|
func MaterialNameHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
|
|
func MaterialNameHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
|
|
func MaterialNameIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldMaterialName))
|
|
}
|
|
|
|
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
|
|
func MaterialNameNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldMaterialName))
|
|
}
|
|
|
|
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
|
|
func MaterialNameEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
|
|
func MaterialNameContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldMaterialName, v))
|
|
}
|
|
|
|
// OwnershipTypeEQ applies the EQ predicate on the "ownership_type" field.
|
|
func OwnershipTypeEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeNEQ applies the NEQ predicate on the "ownership_type" field.
|
|
func OwnershipTypeNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeIn applies the In predicate on the "ownership_type" field.
|
|
func OwnershipTypeIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldOwnershipType, vs...))
|
|
}
|
|
|
|
// OwnershipTypeNotIn applies the NotIn predicate on the "ownership_type" field.
|
|
func OwnershipTypeNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldOwnershipType, vs...))
|
|
}
|
|
|
|
// OwnershipTypeGT applies the GT predicate on the "ownership_type" field.
|
|
func OwnershipTypeGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeGTE applies the GTE predicate on the "ownership_type" field.
|
|
func OwnershipTypeGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeLT applies the LT predicate on the "ownership_type" field.
|
|
func OwnershipTypeLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeLTE applies the LTE predicate on the "ownership_type" field.
|
|
func OwnershipTypeLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeContains applies the Contains predicate on the "ownership_type" field.
|
|
func OwnershipTypeContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeHasPrefix applies the HasPrefix predicate on the "ownership_type" field.
|
|
func OwnershipTypeHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeHasSuffix applies the HasSuffix predicate on the "ownership_type" field.
|
|
func OwnershipTypeHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeIsNil applies the IsNil predicate on the "ownership_type" field.
|
|
func OwnershipTypeIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldOwnershipType))
|
|
}
|
|
|
|
// OwnershipTypeNotNil applies the NotNil predicate on the "ownership_type" field.
|
|
func OwnershipTypeNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldOwnershipType))
|
|
}
|
|
|
|
// OwnershipTypeEqualFold applies the EqualFold predicate on the "ownership_type" field.
|
|
func OwnershipTypeEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipTypeContainsFold applies the ContainsFold predicate on the "ownership_type" field.
|
|
func OwnershipTypeContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldOwnershipType, v))
|
|
}
|
|
|
|
// OwnershipNoEQ applies the EQ predicate on the "ownership_no" field.
|
|
func OwnershipNoEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoNEQ applies the NEQ predicate on the "ownership_no" field.
|
|
func OwnershipNoNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoIn applies the In predicate on the "ownership_no" field.
|
|
func OwnershipNoIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldOwnershipNo, vs...))
|
|
}
|
|
|
|
// OwnershipNoNotIn applies the NotIn predicate on the "ownership_no" field.
|
|
func OwnershipNoNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldOwnershipNo, vs...))
|
|
}
|
|
|
|
// OwnershipNoGT applies the GT predicate on the "ownership_no" field.
|
|
func OwnershipNoGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoGTE applies the GTE predicate on the "ownership_no" field.
|
|
func OwnershipNoGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoLT applies the LT predicate on the "ownership_no" field.
|
|
func OwnershipNoLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoLTE applies the LTE predicate on the "ownership_no" field.
|
|
func OwnershipNoLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoContains applies the Contains predicate on the "ownership_no" field.
|
|
func OwnershipNoContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoHasPrefix applies the HasPrefix predicate on the "ownership_no" field.
|
|
func OwnershipNoHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoHasSuffix applies the HasSuffix predicate on the "ownership_no" field.
|
|
func OwnershipNoHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoIsNil applies the IsNil predicate on the "ownership_no" field.
|
|
func OwnershipNoIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldOwnershipNo))
|
|
}
|
|
|
|
// OwnershipNoNotNil applies the NotNil predicate on the "ownership_no" field.
|
|
func OwnershipNoNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldOwnershipNo))
|
|
}
|
|
|
|
// OwnershipNoEqualFold applies the EqualFold predicate on the "ownership_no" field.
|
|
func OwnershipNoEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// OwnershipNoContainsFold applies the ContainsFold predicate on the "ownership_no" field.
|
|
func OwnershipNoContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldOwnershipNo, v))
|
|
}
|
|
|
|
// RelatedStandardEQ applies the EQ predicate on the "related_standard" field.
|
|
func RelatedStandardEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardNEQ applies the NEQ predicate on the "related_standard" field.
|
|
func RelatedStandardNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardIn applies the In predicate on the "related_standard" field.
|
|
func RelatedStandardIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldRelatedStandard, vs...))
|
|
}
|
|
|
|
// RelatedStandardNotIn applies the NotIn predicate on the "related_standard" field.
|
|
func RelatedStandardNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldRelatedStandard, vs...))
|
|
}
|
|
|
|
// RelatedStandardGT applies the GT predicate on the "related_standard" field.
|
|
func RelatedStandardGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardGTE applies the GTE predicate on the "related_standard" field.
|
|
func RelatedStandardGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardLT applies the LT predicate on the "related_standard" field.
|
|
func RelatedStandardLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardLTE applies the LTE predicate on the "related_standard" field.
|
|
func RelatedStandardLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardContains applies the Contains predicate on the "related_standard" field.
|
|
func RelatedStandardContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardHasPrefix applies the HasPrefix predicate on the "related_standard" field.
|
|
func RelatedStandardHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardHasSuffix applies the HasSuffix predicate on the "related_standard" field.
|
|
func RelatedStandardHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardIsNil applies the IsNil predicate on the "related_standard" field.
|
|
func RelatedStandardIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldRelatedStandard))
|
|
}
|
|
|
|
// RelatedStandardNotNil applies the NotNil predicate on the "related_standard" field.
|
|
func RelatedStandardNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldRelatedStandard))
|
|
}
|
|
|
|
// RelatedStandardEqualFold applies the EqualFold predicate on the "related_standard" field.
|
|
func RelatedStandardEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// RelatedStandardContainsFold applies the ContainsFold predicate on the "related_standard" field.
|
|
func RelatedStandardContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldRelatedStandard, v))
|
|
}
|
|
|
|
// ManufacturerEQ applies the EQ predicate on the "manufacturer" field.
|
|
func ManufacturerEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerNEQ applies the NEQ predicate on the "manufacturer" field.
|
|
func ManufacturerNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerIn applies the In predicate on the "manufacturer" field.
|
|
func ManufacturerIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldManufacturer, vs...))
|
|
}
|
|
|
|
// ManufacturerNotIn applies the NotIn predicate on the "manufacturer" field.
|
|
func ManufacturerNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldManufacturer, vs...))
|
|
}
|
|
|
|
// ManufacturerGT applies the GT predicate on the "manufacturer" field.
|
|
func ManufacturerGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerGTE applies the GTE predicate on the "manufacturer" field.
|
|
func ManufacturerGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerLT applies the LT predicate on the "manufacturer" field.
|
|
func ManufacturerLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerLTE applies the LTE predicate on the "manufacturer" field.
|
|
func ManufacturerLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerContains applies the Contains predicate on the "manufacturer" field.
|
|
func ManufacturerContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerHasPrefix applies the HasPrefix predicate on the "manufacturer" field.
|
|
func ManufacturerHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerHasSuffix applies the HasSuffix predicate on the "manufacturer" field.
|
|
func ManufacturerHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerIsNil applies the IsNil predicate on the "manufacturer" field.
|
|
func ManufacturerIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldManufacturer))
|
|
}
|
|
|
|
// ManufacturerNotNil applies the NotNil predicate on the "manufacturer" field.
|
|
func ManufacturerNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldManufacturer))
|
|
}
|
|
|
|
// ManufacturerEqualFold applies the EqualFold predicate on the "manufacturer" field.
|
|
func ManufacturerEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldManufacturer, v))
|
|
}
|
|
|
|
// ManufacturerContainsFold applies the ContainsFold predicate on the "manufacturer" field.
|
|
func ManufacturerContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldManufacturer, v))
|
|
}
|
|
|
|
// InspectionTypeEQ applies the EQ predicate on the "inspection_type" field.
|
|
func InspectionTypeEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeNEQ applies the NEQ predicate on the "inspection_type" field.
|
|
func InspectionTypeNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeIn applies the In predicate on the "inspection_type" field.
|
|
func InspectionTypeIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldInspectionType, vs...))
|
|
}
|
|
|
|
// InspectionTypeNotIn applies the NotIn predicate on the "inspection_type" field.
|
|
func InspectionTypeNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldInspectionType, vs...))
|
|
}
|
|
|
|
// InspectionTypeGT applies the GT predicate on the "inspection_type" field.
|
|
func InspectionTypeGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeGTE applies the GTE predicate on the "inspection_type" field.
|
|
func InspectionTypeGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeLT applies the LT predicate on the "inspection_type" field.
|
|
func InspectionTypeLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeLTE applies the LTE predicate on the "inspection_type" field.
|
|
func InspectionTypeLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeContains applies the Contains predicate on the "inspection_type" field.
|
|
func InspectionTypeContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeHasPrefix applies the HasPrefix predicate on the "inspection_type" field.
|
|
func InspectionTypeHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeHasSuffix applies the HasSuffix predicate on the "inspection_type" field.
|
|
func InspectionTypeHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeEqualFold applies the EqualFold predicate on the "inspection_type" field.
|
|
func InspectionTypeEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldInspectionType, v))
|
|
}
|
|
|
|
// InspectionTypeContainsFold applies the ContainsFold predicate on the "inspection_type" field.
|
|
func InspectionTypeContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldInspectionType, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// ResultValueEQ applies the EQ predicate on the "result_value" field.
|
|
func ResultValueEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueNEQ applies the NEQ predicate on the "result_value" field.
|
|
func ResultValueNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueIn applies the In predicate on the "result_value" field.
|
|
func ResultValueIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldResultValue, vs...))
|
|
}
|
|
|
|
// ResultValueNotIn applies the NotIn predicate on the "result_value" field.
|
|
func ResultValueNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldResultValue, vs...))
|
|
}
|
|
|
|
// ResultValueGT applies the GT predicate on the "result_value" field.
|
|
func ResultValueGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueGTE applies the GTE predicate on the "result_value" field.
|
|
func ResultValueGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueLT applies the LT predicate on the "result_value" field.
|
|
func ResultValueLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueLTE applies the LTE predicate on the "result_value" field.
|
|
func ResultValueLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueContains applies the Contains predicate on the "result_value" field.
|
|
func ResultValueContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueHasPrefix applies the HasPrefix predicate on the "result_value" field.
|
|
func ResultValueHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueHasSuffix applies the HasSuffix predicate on the "result_value" field.
|
|
func ResultValueHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueIsNil applies the IsNil predicate on the "result_value" field.
|
|
func ResultValueIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldResultValue))
|
|
}
|
|
|
|
// ResultValueNotNil applies the NotNil predicate on the "result_value" field.
|
|
func ResultValueNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldResultValue))
|
|
}
|
|
|
|
// ResultValueEqualFold applies the EqualFold predicate on the "result_value" field.
|
|
func ResultValueEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldResultValue, v))
|
|
}
|
|
|
|
// ResultValueContainsFold applies the ContainsFold predicate on the "result_value" field.
|
|
func ResultValueContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldResultValue, v))
|
|
}
|
|
|
|
// InspectQtyEQ applies the EQ predicate on the "inspect_qty" field.
|
|
func InspectQtyEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectQty, v))
|
|
}
|
|
|
|
// InspectQtyNEQ applies the NEQ predicate on the "inspect_qty" field.
|
|
func InspectQtyNEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldInspectQty, v))
|
|
}
|
|
|
|
// InspectQtyIn applies the In predicate on the "inspect_qty" field.
|
|
func InspectQtyIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldInspectQty, vs...))
|
|
}
|
|
|
|
// InspectQtyNotIn applies the NotIn predicate on the "inspect_qty" field.
|
|
func InspectQtyNotIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldInspectQty, vs...))
|
|
}
|
|
|
|
// InspectQtyGT applies the GT predicate on the "inspect_qty" field.
|
|
func InspectQtyGT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldInspectQty, v))
|
|
}
|
|
|
|
// InspectQtyGTE applies the GTE predicate on the "inspect_qty" field.
|
|
func InspectQtyGTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldInspectQty, v))
|
|
}
|
|
|
|
// InspectQtyLT applies the LT predicate on the "inspect_qty" field.
|
|
func InspectQtyLT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldInspectQty, v))
|
|
}
|
|
|
|
// InspectQtyLTE applies the LTE predicate on the "inspect_qty" field.
|
|
func InspectQtyLTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldInspectQty, v))
|
|
}
|
|
|
|
// PassQtyEQ applies the EQ predicate on the "pass_qty" field.
|
|
func PassQtyEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldPassQty, v))
|
|
}
|
|
|
|
// PassQtyNEQ applies the NEQ predicate on the "pass_qty" field.
|
|
func PassQtyNEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldPassQty, v))
|
|
}
|
|
|
|
// PassQtyIn applies the In predicate on the "pass_qty" field.
|
|
func PassQtyIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldPassQty, vs...))
|
|
}
|
|
|
|
// PassQtyNotIn applies the NotIn predicate on the "pass_qty" field.
|
|
func PassQtyNotIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldPassQty, vs...))
|
|
}
|
|
|
|
// PassQtyGT applies the GT predicate on the "pass_qty" field.
|
|
func PassQtyGT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldPassQty, v))
|
|
}
|
|
|
|
// PassQtyGTE applies the GTE predicate on the "pass_qty" field.
|
|
func PassQtyGTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldPassQty, v))
|
|
}
|
|
|
|
// PassQtyLT applies the LT predicate on the "pass_qty" field.
|
|
func PassQtyLT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldPassQty, v))
|
|
}
|
|
|
|
// PassQtyLTE applies the LTE predicate on the "pass_qty" field.
|
|
func PassQtyLTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldPassQty, v))
|
|
}
|
|
|
|
// RejectQtyEQ applies the EQ predicate on the "reject_qty" field.
|
|
func RejectQtyEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRejectQty, v))
|
|
}
|
|
|
|
// RejectQtyNEQ applies the NEQ predicate on the "reject_qty" field.
|
|
func RejectQtyNEQ(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldRejectQty, v))
|
|
}
|
|
|
|
// RejectQtyIn applies the In predicate on the "reject_qty" field.
|
|
func RejectQtyIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldRejectQty, vs...))
|
|
}
|
|
|
|
// RejectQtyNotIn applies the NotIn predicate on the "reject_qty" field.
|
|
func RejectQtyNotIn(vs ...int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldRejectQty, vs...))
|
|
}
|
|
|
|
// RejectQtyGT applies the GT predicate on the "reject_qty" field.
|
|
func RejectQtyGT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldRejectQty, v))
|
|
}
|
|
|
|
// RejectQtyGTE applies the GTE predicate on the "reject_qty" field.
|
|
func RejectQtyGTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldRejectQty, v))
|
|
}
|
|
|
|
// RejectQtyLT applies the LT predicate on the "reject_qty" field.
|
|
func RejectQtyLT(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldRejectQty, v))
|
|
}
|
|
|
|
// RejectQtyLTE applies the LTE predicate on the "reject_qty" field.
|
|
func RejectQtyLTE(v int) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldRejectQty, v))
|
|
}
|
|
|
|
// CheckDescEQ applies the EQ predicate on the "check_desc" field.
|
|
func CheckDescEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescNEQ applies the NEQ predicate on the "check_desc" field.
|
|
func CheckDescNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescIn applies the In predicate on the "check_desc" field.
|
|
func CheckDescIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldCheckDesc, vs...))
|
|
}
|
|
|
|
// CheckDescNotIn applies the NotIn predicate on the "check_desc" field.
|
|
func CheckDescNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldCheckDesc, vs...))
|
|
}
|
|
|
|
// CheckDescGT applies the GT predicate on the "check_desc" field.
|
|
func CheckDescGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescGTE applies the GTE predicate on the "check_desc" field.
|
|
func CheckDescGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescLT applies the LT predicate on the "check_desc" field.
|
|
func CheckDescLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescLTE applies the LTE predicate on the "check_desc" field.
|
|
func CheckDescLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescContains applies the Contains predicate on the "check_desc" field.
|
|
func CheckDescContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescHasPrefix applies the HasPrefix predicate on the "check_desc" field.
|
|
func CheckDescHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescHasSuffix applies the HasSuffix predicate on the "check_desc" field.
|
|
func CheckDescHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescIsNil applies the IsNil predicate on the "check_desc" field.
|
|
func CheckDescIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldCheckDesc))
|
|
}
|
|
|
|
// CheckDescNotNil applies the NotNil predicate on the "check_desc" field.
|
|
func CheckDescNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldCheckDesc))
|
|
}
|
|
|
|
// CheckDescEqualFold applies the EqualFold predicate on the "check_desc" field.
|
|
func CheckDescEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldCheckDesc, v))
|
|
}
|
|
|
|
// CheckDescContainsFold applies the ContainsFold predicate on the "check_desc" field.
|
|
func CheckDescContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldCheckDesc, v))
|
|
}
|
|
|
|
// InspectorEQ applies the EQ predicate on the "inspector" field.
|
|
func InspectorEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorNEQ applies the NEQ predicate on the "inspector" field.
|
|
func InspectorNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorIn applies the In predicate on the "inspector" field.
|
|
func InspectorIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldInspector, vs...))
|
|
}
|
|
|
|
// InspectorNotIn applies the NotIn predicate on the "inspector" field.
|
|
func InspectorNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldInspector, vs...))
|
|
}
|
|
|
|
// InspectorGT applies the GT predicate on the "inspector" field.
|
|
func InspectorGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorGTE applies the GTE predicate on the "inspector" field.
|
|
func InspectorGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorLT applies the LT predicate on the "inspector" field.
|
|
func InspectorLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorLTE applies the LTE predicate on the "inspector" field.
|
|
func InspectorLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorContains applies the Contains predicate on the "inspector" field.
|
|
func InspectorContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorHasPrefix applies the HasPrefix predicate on the "inspector" field.
|
|
func InspectorHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorHasSuffix applies the HasSuffix predicate on the "inspector" field.
|
|
func InspectorHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorIsNil applies the IsNil predicate on the "inspector" field.
|
|
func InspectorIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldInspector))
|
|
}
|
|
|
|
// InspectorNotNil applies the NotNil predicate on the "inspector" field.
|
|
func InspectorNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldInspector))
|
|
}
|
|
|
|
// InspectorEqualFold applies the EqualFold predicate on the "inspector" field.
|
|
func InspectorEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldInspector, v))
|
|
}
|
|
|
|
// InspectorContainsFold applies the ContainsFold predicate on the "inspector" field.
|
|
func InspectorContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldInspector, v))
|
|
}
|
|
|
|
// InspectionNoEQ applies the EQ predicate on the "inspection_no" field.
|
|
func InspectionNoEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoNEQ applies the NEQ predicate on the "inspection_no" field.
|
|
func InspectionNoNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoIn applies the In predicate on the "inspection_no" field.
|
|
func InspectionNoIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldInspectionNo, vs...))
|
|
}
|
|
|
|
// InspectionNoNotIn applies the NotIn predicate on the "inspection_no" field.
|
|
func InspectionNoNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldInspectionNo, vs...))
|
|
}
|
|
|
|
// InspectionNoGT applies the GT predicate on the "inspection_no" field.
|
|
func InspectionNoGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoGTE applies the GTE predicate on the "inspection_no" field.
|
|
func InspectionNoGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoLT applies the LT predicate on the "inspection_no" field.
|
|
func InspectionNoLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoLTE applies the LTE predicate on the "inspection_no" field.
|
|
func InspectionNoLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoContains applies the Contains predicate on the "inspection_no" field.
|
|
func InspectionNoContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoHasPrefix applies the HasPrefix predicate on the "inspection_no" field.
|
|
func InspectionNoHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoHasSuffix applies the HasSuffix predicate on the "inspection_no" field.
|
|
func InspectionNoHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoIsNil applies the IsNil predicate on the "inspection_no" field.
|
|
func InspectionNoIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldInspectionNo))
|
|
}
|
|
|
|
// InspectionNoNotNil applies the NotNil predicate on the "inspection_no" field.
|
|
func InspectionNoNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldInspectionNo))
|
|
}
|
|
|
|
// InspectionNoEqualFold applies the EqualFold predicate on the "inspection_no" field.
|
|
func InspectionNoEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldInspectionNo, v))
|
|
}
|
|
|
|
// InspectionNoContainsFold applies the ContainsFold predicate on the "inspection_no" field.
|
|
func InspectionNoContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldInspectionNo, v))
|
|
}
|
|
|
|
// ReportNoEQ applies the EQ predicate on the "report_no" field.
|
|
func ReportNoEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoNEQ applies the NEQ predicate on the "report_no" field.
|
|
func ReportNoNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoIn applies the In predicate on the "report_no" field.
|
|
func ReportNoIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldReportNo, vs...))
|
|
}
|
|
|
|
// ReportNoNotIn applies the NotIn predicate on the "report_no" field.
|
|
func ReportNoNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldReportNo, vs...))
|
|
}
|
|
|
|
// ReportNoGT applies the GT predicate on the "report_no" field.
|
|
func ReportNoGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoGTE applies the GTE predicate on the "report_no" field.
|
|
func ReportNoGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoLT applies the LT predicate on the "report_no" field.
|
|
func ReportNoLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoLTE applies the LTE predicate on the "report_no" field.
|
|
func ReportNoLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoContains applies the Contains predicate on the "report_no" field.
|
|
func ReportNoContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoHasPrefix applies the HasPrefix predicate on the "report_no" field.
|
|
func ReportNoHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoHasSuffix applies the HasSuffix predicate on the "report_no" field.
|
|
func ReportNoHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoIsNil applies the IsNil predicate on the "report_no" field.
|
|
func ReportNoIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldReportNo))
|
|
}
|
|
|
|
// ReportNoNotNil applies the NotNil predicate on the "report_no" field.
|
|
func ReportNoNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldReportNo))
|
|
}
|
|
|
|
// ReportNoEqualFold applies the EqualFold predicate on the "report_no" field.
|
|
func ReportNoEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldReportNo, v))
|
|
}
|
|
|
|
// ReportNoContainsFold applies the ContainsFold predicate on the "report_no" field.
|
|
func ReportNoContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldReportNo, v))
|
|
}
|
|
|
|
// DisposalTypeEQ applies the EQ predicate on the "disposal_type" field.
|
|
func DisposalTypeEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeNEQ applies the NEQ predicate on the "disposal_type" field.
|
|
func DisposalTypeNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeIn applies the In predicate on the "disposal_type" field.
|
|
func DisposalTypeIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldDisposalType, vs...))
|
|
}
|
|
|
|
// DisposalTypeNotIn applies the NotIn predicate on the "disposal_type" field.
|
|
func DisposalTypeNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldDisposalType, vs...))
|
|
}
|
|
|
|
// DisposalTypeGT applies the GT predicate on the "disposal_type" field.
|
|
func DisposalTypeGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeGTE applies the GTE predicate on the "disposal_type" field.
|
|
func DisposalTypeGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeLT applies the LT predicate on the "disposal_type" field.
|
|
func DisposalTypeLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeLTE applies the LTE predicate on the "disposal_type" field.
|
|
func DisposalTypeLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeContains applies the Contains predicate on the "disposal_type" field.
|
|
func DisposalTypeContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeHasPrefix applies the HasPrefix predicate on the "disposal_type" field.
|
|
func DisposalTypeHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeHasSuffix applies the HasSuffix predicate on the "disposal_type" field.
|
|
func DisposalTypeHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeEqualFold applies the EqualFold predicate on the "disposal_type" field.
|
|
func DisposalTypeEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalTypeContainsFold applies the ContainsFold predicate on the "disposal_type" field.
|
|
func DisposalTypeContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldDisposalType, v))
|
|
}
|
|
|
|
// DisposalRemarkEQ applies the EQ predicate on the "disposal_remark" field.
|
|
func DisposalRemarkEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkNEQ applies the NEQ predicate on the "disposal_remark" field.
|
|
func DisposalRemarkNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkIn applies the In predicate on the "disposal_remark" field.
|
|
func DisposalRemarkIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldDisposalRemark, vs...))
|
|
}
|
|
|
|
// DisposalRemarkNotIn applies the NotIn predicate on the "disposal_remark" field.
|
|
func DisposalRemarkNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldDisposalRemark, vs...))
|
|
}
|
|
|
|
// DisposalRemarkGT applies the GT predicate on the "disposal_remark" field.
|
|
func DisposalRemarkGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkGTE applies the GTE predicate on the "disposal_remark" field.
|
|
func DisposalRemarkGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkLT applies the LT predicate on the "disposal_remark" field.
|
|
func DisposalRemarkLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkLTE applies the LTE predicate on the "disposal_remark" field.
|
|
func DisposalRemarkLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkContains applies the Contains predicate on the "disposal_remark" field.
|
|
func DisposalRemarkContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkHasPrefix applies the HasPrefix predicate on the "disposal_remark" field.
|
|
func DisposalRemarkHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkHasSuffix applies the HasSuffix predicate on the "disposal_remark" field.
|
|
func DisposalRemarkHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkIsNil applies the IsNil predicate on the "disposal_remark" field.
|
|
func DisposalRemarkIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldDisposalRemark))
|
|
}
|
|
|
|
// DisposalRemarkNotNil applies the NotNil predicate on the "disposal_remark" field.
|
|
func DisposalRemarkNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldDisposalRemark))
|
|
}
|
|
|
|
// DisposalRemarkEqualFold applies the EqualFold predicate on the "disposal_remark" field.
|
|
func DisposalRemarkEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// DisposalRemarkContainsFold applies the ContainsFold predicate on the "disposal_remark" field.
|
|
func DisposalRemarkContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldDisposalRemark, v))
|
|
}
|
|
|
|
// ReturnTrackingNoEQ applies the EQ predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoNEQ applies the NEQ predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoIn applies the In predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldReturnTrackingNo, vs...))
|
|
}
|
|
|
|
// ReturnTrackingNoNotIn applies the NotIn predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldReturnTrackingNo, vs...))
|
|
}
|
|
|
|
// ReturnTrackingNoGT applies the GT predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoGTE applies the GTE predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoLT applies the LT predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoLTE applies the LTE predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoContains applies the Contains predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoHasPrefix applies the HasPrefix predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoHasSuffix applies the HasSuffix predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoIsNil applies the IsNil predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldReturnTrackingNo))
|
|
}
|
|
|
|
// ReturnTrackingNoNotNil applies the NotNil predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldReturnTrackingNo))
|
|
}
|
|
|
|
// ReturnTrackingNoEqualFold applies the EqualFold predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// ReturnTrackingNoContainsFold applies the ContainsFold predicate on the "return_tracking_no" field.
|
|
func ReturnTrackingNoContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldReturnTrackingNo, v))
|
|
}
|
|
|
|
// RemarkEQ applies the EQ predicate on the "remark" field.
|
|
func RemarkEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
|
func RemarkNEQ(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIn applies the In predicate on the "remark" field.
|
|
func RemarkIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
|
func RemarkNotIn(vs ...string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkGT applies the GT predicate on the "remark" field.
|
|
func RemarkGT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkGTE applies the GTE predicate on the "remark" field.
|
|
func RemarkGTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLT applies the LT predicate on the "remark" field.
|
|
func RemarkLT(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLTE applies the LTE predicate on the "remark" field.
|
|
func RemarkLTE(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContains applies the Contains predicate on the "remark" field.
|
|
func RemarkContains(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContains(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
|
func RemarkHasPrefix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
|
func RemarkHasSuffix(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIsNil applies the IsNil predicate on the "remark" field.
|
|
func RemarkIsNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIsNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkNotNil applies the NotNil predicate on the "remark" field.
|
|
func RemarkNotNil() predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
|
func RemarkEqualFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEqualFold(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
|
func RemarkContainsFold(v string) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldContainsFold(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v int64) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.InspectionRecord) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.InspectionRecord) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.InspectionRecord) predicate.InspectionRecord {
|
|
return predicate.InspectionRecord(sql.NotPredicates(p))
|
|
}
|