feat: 新增预警与附件模块,优化工位派工功能
1. 新增预警规则、预警消息、业务附件数据库表与CRUD逻辑 2. 为拧紧记录添加审核人、审核时间字段及审核留痕功能 3. 优化产线点位类型与编号描述,更新工位组合下发菜单名称为工艺路线派工 4. 新增上传文件获取原文件名与大小的工具方法 5. 在系统管理菜单新增预警中心与附件中心入口
This commit is contained in:
@@ -0,0 +1,165 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package inspectionrecord
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
const (
|
||||
// Label holds the string label denoting the inspectionrecord type in the database.
|
||||
Label = "inspection_record"
|
||||
// FieldID holds the string denoting the id field in the database.
|
||||
FieldID = "id"
|
||||
// FieldCategory holds the string denoting the category field in the database.
|
||||
FieldCategory = "category"
|
||||
// FieldStationNo holds the string denoting the stationno field in the database.
|
||||
FieldStationNo = "station_no"
|
||||
// FieldShift holds the string denoting the shift field in the database.
|
||||
FieldShift = "shift"
|
||||
// FieldOrderNo holds the string denoting the orderno field in the database.
|
||||
FieldOrderNo = "order_no"
|
||||
// FieldSn holds the string denoting the sn field in the database.
|
||||
FieldSn = "sn"
|
||||
// FieldResult holds the string denoting the result field in the database.
|
||||
FieldResult = "result"
|
||||
// FieldItems holds the string denoting the items field in the database.
|
||||
FieldItems = "items"
|
||||
// FieldPhoto holds the string denoting the photo field in the database.
|
||||
FieldPhoto = "photo"
|
||||
// FieldRemark holds the string denoting the remark field in the database.
|
||||
FieldRemark = "remark"
|
||||
// FieldOperator holds the string denoting the operator field in the database.
|
||||
FieldOperator = "operator"
|
||||
// FieldCreatedAt holds the string denoting the createdat field in the database.
|
||||
FieldCreatedAt = "created_at"
|
||||
// Table holds the table name of the inspectionrecord in the database.
|
||||
Table = "inspection_record"
|
||||
)
|
||||
|
||||
// Columns holds all SQL columns for inspectionrecord fields.
|
||||
var Columns = []string{
|
||||
FieldID,
|
||||
FieldCategory,
|
||||
FieldStationNo,
|
||||
FieldShift,
|
||||
FieldOrderNo,
|
||||
FieldSn,
|
||||
FieldResult,
|
||||
FieldItems,
|
||||
FieldPhoto,
|
||||
FieldRemark,
|
||||
FieldOperator,
|
||||
FieldCreatedAt,
|
||||
}
|
||||
|
||||
// ValidColumn reports if the column name is valid (part of the table columns).
|
||||
func ValidColumn(column string) bool {
|
||||
for i := range Columns {
|
||||
if column == Columns[i] {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var (
|
||||
// CategoryValidator is a validator for the "category" field. It is called by the builders before save.
|
||||
CategoryValidator func(string) error
|
||||
// DefaultStationNo holds the default value on creation for the "stationNo" field.
|
||||
DefaultStationNo string
|
||||
// StationNoValidator is a validator for the "stationNo" field. It is called by the builders before save.
|
||||
StationNoValidator func(string) error
|
||||
// DefaultShift holds the default value on creation for the "shift" field.
|
||||
DefaultShift string
|
||||
// ShiftValidator is a validator for the "shift" field. It is called by the builders before save.
|
||||
ShiftValidator func(string) error
|
||||
// DefaultOrderNo holds the default value on creation for the "orderNo" field.
|
||||
DefaultOrderNo string
|
||||
// OrderNoValidator is a validator for the "orderNo" field. It is called by the builders before save.
|
||||
OrderNoValidator func(string) error
|
||||
// DefaultSn holds the default value on creation for the "sn" field.
|
||||
DefaultSn string
|
||||
// SnValidator is a validator for the "sn" field. It is called by the builders before save.
|
||||
SnValidator func(string) error
|
||||
// DefaultResult holds the default value on creation for the "result" field.
|
||||
DefaultResult string
|
||||
// ResultValidator is a validator for the "result" field. It is called by the builders before save.
|
||||
ResultValidator func(string) error
|
||||
// DefaultPhoto holds the default value on creation for the "photo" field.
|
||||
DefaultPhoto string
|
||||
// PhotoValidator is a validator for the "photo" field. It is called by the builders before save.
|
||||
PhotoValidator func(string) error
|
||||
// DefaultRemark holds the default value on creation for the "remark" field.
|
||||
DefaultRemark string
|
||||
// RemarkValidator is a validator for the "remark" field. It is called by the builders before save.
|
||||
RemarkValidator func(string) error
|
||||
// DefaultOperator holds the default value on creation for the "operator" field.
|
||||
DefaultOperator string
|
||||
// OperatorValidator is a validator for the "operator" field. It is called by the builders before save.
|
||||
OperatorValidator func(string) error
|
||||
// DefaultCreatedAt holds the default value on creation for the "createdAt" field.
|
||||
DefaultCreatedAt func() time.Time
|
||||
// IDValidator is a validator for the "id" field. It is called by the builders before save.
|
||||
IDValidator func(int) error
|
||||
)
|
||||
|
||||
// OrderOption defines the ordering options for the InspectionRecord queries.
|
||||
type OrderOption func(*sql.Selector)
|
||||
|
||||
// ByID orders the results by the id field.
|
||||
func ByID(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldID, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCategory orders the results by the category field.
|
||||
func ByCategory(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCategory, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByStationNo orders the results by the stationNo field.
|
||||
func ByStationNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldStationNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByShift orders the results by the shift field.
|
||||
func ByShift(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldShift, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByOrderNo orders the results by the orderNo field.
|
||||
func ByOrderNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldOrderNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// BySn orders the results by the sn field.
|
||||
func BySn(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldSn, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByResult orders the results by the result field.
|
||||
func ByResult(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldResult, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByPhoto orders the results by the photo field.
|
||||
func ByPhoto(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldPhoto, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByRemark orders the results by the remark field.
|
||||
func ByRemark(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldRemark, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByOperator orders the results by the operator field.
|
||||
func ByOperator(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldOperator, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreatedAt orders the results by the createdAt field.
|
||||
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreatedAt, opts...).ToFunc()
|
||||
}
|
||||
@@ -0,0 +1,755 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package inspectionrecord
|
||||
|
||||
import (
|
||||
"bj_power_mes/predicate"
|
||||
"time"
|
||||
|
||||
"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))
|
||||
}
|
||||
|
||||
// Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
|
||||
func Category(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
||||
func StationNo(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// Shift applies equality check predicate on the "shift" field. It's identical to ShiftEQ.
|
||||
func Shift(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldShift, v))
|
||||
}
|
||||
|
||||
// OrderNo applies equality check predicate on the "orderNo" field. It's identical to OrderNoEQ.
|
||||
func OrderNo(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.
|
||||
func Sn(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
|
||||
func Result(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldResult, v))
|
||||
}
|
||||
|
||||
// Photo applies equality check predicate on the "photo" field. It's identical to PhotoEQ.
|
||||
func Photo(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldPhoto, 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))
|
||||
}
|
||||
|
||||
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
||||
func Operator(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CategoryEQ applies the EQ predicate on the "category" field.
|
||||
func CategoryEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryNEQ applies the NEQ predicate on the "category" field.
|
||||
func CategoryNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryIn applies the In predicate on the "category" field.
|
||||
func CategoryIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldCategory, vs...))
|
||||
}
|
||||
|
||||
// CategoryNotIn applies the NotIn predicate on the "category" field.
|
||||
func CategoryNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldCategory, vs...))
|
||||
}
|
||||
|
||||
// CategoryGT applies the GT predicate on the "category" field.
|
||||
func CategoryGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryGTE applies the GTE predicate on the "category" field.
|
||||
func CategoryGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryLT applies the LT predicate on the "category" field.
|
||||
func CategoryLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryLTE applies the LTE predicate on the "category" field.
|
||||
func CategoryLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryContains applies the Contains predicate on the "category" field.
|
||||
func CategoryContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
|
||||
func CategoryHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
|
||||
func CategoryHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryEqualFold applies the EqualFold predicate on the "category" field.
|
||||
func CategoryEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldCategory, v))
|
||||
}
|
||||
|
||||
// CategoryContainsFold applies the ContainsFold predicate on the "category" field.
|
||||
func CategoryContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldCategory, v))
|
||||
}
|
||||
|
||||
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
||||
func StationNoEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
||||
func StationNoNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoIn applies the In predicate on the "stationNo" field.
|
||||
func StationNoIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldStationNo, vs...))
|
||||
}
|
||||
|
||||
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
||||
func StationNoNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldStationNo, vs...))
|
||||
}
|
||||
|
||||
// StationNoGT applies the GT predicate on the "stationNo" field.
|
||||
func StationNoGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
||||
func StationNoGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoLT applies the LT predicate on the "stationNo" field.
|
||||
func StationNoLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
||||
func StationNoLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoContains applies the Contains predicate on the "stationNo" field.
|
||||
func StationNoContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoHasPrefix applies the HasPrefix predicate on the "stationNo" field.
|
||||
func StationNoHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoHasSuffix applies the HasSuffix predicate on the "stationNo" field.
|
||||
func StationNoHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoEqualFold applies the EqualFold predicate on the "stationNo" field.
|
||||
func StationNoEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoContainsFold applies the ContainsFold predicate on the "stationNo" field.
|
||||
func StationNoContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// ShiftEQ applies the EQ predicate on the "shift" field.
|
||||
func ShiftEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftNEQ applies the NEQ predicate on the "shift" field.
|
||||
func ShiftNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftIn applies the In predicate on the "shift" field.
|
||||
func ShiftIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldShift, vs...))
|
||||
}
|
||||
|
||||
// ShiftNotIn applies the NotIn predicate on the "shift" field.
|
||||
func ShiftNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldShift, vs...))
|
||||
}
|
||||
|
||||
// ShiftGT applies the GT predicate on the "shift" field.
|
||||
func ShiftGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftGTE applies the GTE predicate on the "shift" field.
|
||||
func ShiftGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftLT applies the LT predicate on the "shift" field.
|
||||
func ShiftLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftLTE applies the LTE predicate on the "shift" field.
|
||||
func ShiftLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftContains applies the Contains predicate on the "shift" field.
|
||||
func ShiftContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftHasPrefix applies the HasPrefix predicate on the "shift" field.
|
||||
func ShiftHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftHasSuffix applies the HasSuffix predicate on the "shift" field.
|
||||
func ShiftHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftEqualFold applies the EqualFold predicate on the "shift" field.
|
||||
func ShiftEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldShift, v))
|
||||
}
|
||||
|
||||
// ShiftContainsFold applies the ContainsFold predicate on the "shift" field.
|
||||
func ShiftContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldShift, v))
|
||||
}
|
||||
|
||||
// OrderNoEQ applies the EQ predicate on the "orderNo" field.
|
||||
func OrderNoEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoNEQ applies the NEQ predicate on the "orderNo" field.
|
||||
func OrderNoNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoIn applies the In predicate on the "orderNo" field.
|
||||
func OrderNoIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoNotIn applies the NotIn predicate on the "orderNo" field.
|
||||
func OrderNoNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoGT applies the GT predicate on the "orderNo" field.
|
||||
func OrderNoGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoGTE applies the GTE predicate on the "orderNo" field.
|
||||
func OrderNoGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLT applies the LT predicate on the "orderNo" field.
|
||||
func OrderNoLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLTE applies the LTE predicate on the "orderNo" field.
|
||||
func OrderNoLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContains applies the Contains predicate on the "orderNo" field.
|
||||
func OrderNoContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasPrefix applies the HasPrefix predicate on the "orderNo" field.
|
||||
func OrderNoHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasSuffix applies the HasSuffix predicate on the "orderNo" field.
|
||||
func OrderNoHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoEqualFold applies the EqualFold predicate on the "orderNo" field.
|
||||
func OrderNoEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContainsFold applies the ContainsFold predicate on the "orderNo" field.
|
||||
func OrderNoContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// SnEQ applies the EQ predicate on the "sn" field.
|
||||
func SnEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnNEQ applies the NEQ predicate on the "sn" field.
|
||||
func SnNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnIn applies the In predicate on the "sn" field.
|
||||
func SnIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldSn, vs...))
|
||||
}
|
||||
|
||||
// SnNotIn applies the NotIn predicate on the "sn" field.
|
||||
func SnNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldSn, vs...))
|
||||
}
|
||||
|
||||
// SnGT applies the GT predicate on the "sn" field.
|
||||
func SnGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnGTE applies the GTE predicate on the "sn" field.
|
||||
func SnGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnLT applies the LT predicate on the "sn" field.
|
||||
func SnLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnLTE applies the LTE predicate on the "sn" field.
|
||||
func SnLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnContains applies the Contains predicate on the "sn" field.
|
||||
func SnContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnHasPrefix applies the HasPrefix predicate on the "sn" field.
|
||||
func SnHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnHasSuffix applies the HasSuffix predicate on the "sn" field.
|
||||
func SnHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnEqualFold applies the EqualFold predicate on the "sn" field.
|
||||
func SnEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnContainsFold applies the ContainsFold predicate on the "sn" field.
|
||||
func SnContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldSn, v))
|
||||
}
|
||||
|
||||
// ResultEQ applies the EQ predicate on the "result" field.
|
||||
func ResultEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultNEQ applies the NEQ predicate on the "result" field.
|
||||
func ResultNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultIn applies the In predicate on the "result" field.
|
||||
func ResultIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldResult, vs...))
|
||||
}
|
||||
|
||||
// ResultNotIn applies the NotIn predicate on the "result" field.
|
||||
func ResultNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldResult, vs...))
|
||||
}
|
||||
|
||||
// ResultGT applies the GT predicate on the "result" field.
|
||||
func ResultGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultGTE applies the GTE predicate on the "result" field.
|
||||
func ResultGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultLT applies the LT predicate on the "result" field.
|
||||
func ResultLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultLTE applies the LTE predicate on the "result" field.
|
||||
func ResultLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultContains applies the Contains predicate on the "result" field.
|
||||
func ResultContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultHasPrefix applies the HasPrefix predicate on the "result" field.
|
||||
func ResultHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultHasSuffix applies the HasSuffix predicate on the "result" field.
|
||||
func ResultHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultEqualFold applies the EqualFold predicate on the "result" field.
|
||||
func ResultEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldResult, v))
|
||||
}
|
||||
|
||||
// ResultContainsFold applies the ContainsFold predicate on the "result" field.
|
||||
func ResultContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldResult, v))
|
||||
}
|
||||
|
||||
// ItemsIsNil applies the IsNil predicate on the "items" field.
|
||||
func ItemsIsNil() predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIsNull(FieldItems))
|
||||
}
|
||||
|
||||
// ItemsNotNil applies the NotNil predicate on the "items" field.
|
||||
func ItemsNotNil() predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotNull(FieldItems))
|
||||
}
|
||||
|
||||
// PhotoEQ applies the EQ predicate on the "photo" field.
|
||||
func PhotoEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoNEQ applies the NEQ predicate on the "photo" field.
|
||||
func PhotoNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoIn applies the In predicate on the "photo" field.
|
||||
func PhotoIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldPhoto, vs...))
|
||||
}
|
||||
|
||||
// PhotoNotIn applies the NotIn predicate on the "photo" field.
|
||||
func PhotoNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldPhoto, vs...))
|
||||
}
|
||||
|
||||
// PhotoGT applies the GT predicate on the "photo" field.
|
||||
func PhotoGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoGTE applies the GTE predicate on the "photo" field.
|
||||
func PhotoGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoLT applies the LT predicate on the "photo" field.
|
||||
func PhotoLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoLTE applies the LTE predicate on the "photo" field.
|
||||
func PhotoLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoContains applies the Contains predicate on the "photo" field.
|
||||
func PhotoContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoHasPrefix applies the HasPrefix predicate on the "photo" field.
|
||||
func PhotoHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoHasSuffix applies the HasSuffix predicate on the "photo" field.
|
||||
func PhotoHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoEqualFold applies the EqualFold predicate on the "photo" field.
|
||||
func PhotoEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldPhoto, v))
|
||||
}
|
||||
|
||||
// PhotoContainsFold applies the ContainsFold predicate on the "photo" field.
|
||||
func PhotoContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldPhoto, 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))
|
||||
}
|
||||
|
||||
// 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))
|
||||
}
|
||||
|
||||
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||||
func OperatorEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
||||
func OperatorNEQ(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorIn applies the In predicate on the "operator" field.
|
||||
func OperatorIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
||||
func OperatorNotIn(vs ...string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorGT applies the GT predicate on the "operator" field.
|
||||
func OperatorGT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorGTE applies the GTE predicate on the "operator" field.
|
||||
func OperatorGTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLT applies the LT predicate on the "operator" field.
|
||||
func OperatorLT(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLTE applies the LTE predicate on the "operator" field.
|
||||
func OperatorLTE(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContains applies the Contains predicate on the "operator" field.
|
||||
func OperatorContains(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContains(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
||||
func OperatorHasPrefix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasPrefix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
||||
func OperatorHasSuffix(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldHasSuffix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
||||
func OperatorEqualFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEqualFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
||||
func OperatorContainsFold(v string) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldContainsFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
||||
func CreatedAtNEQ(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
||||
func CreatedAtIn(vs ...time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
||||
func CreatedAtNotIn(vs ...time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
||||
func CreatedAtGT(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
||||
func CreatedAtGTE(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
||||
func CreatedAtLT(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
||||
func CreatedAtLTE(v time.Time) predicate.InspectionRecord {
|
||||
return predicate.InspectionRecord(sql.FieldLTE(FieldCreatedAt, 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))
|
||||
}
|
||||
Reference in New Issue
Block a user