feat: 新增预警定时扫描器,移除附件归档字段并为角色表补充更新时间
This commit is contained in:
@@ -103,16 +103,6 @@ func UploadedBy(v string) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldUploadedBy, v))
|
||||
}
|
||||
|
||||
// Archived applies equality check predicate on the "archived" field. It's identical to ArchivedEQ.
|
||||
func Archived(v bool) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldArchived, v))
|
||||
}
|
||||
|
||||
// ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
|
||||
func ArchivedAt(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
||||
func Deleted(v bool) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldDeleted, v))
|
||||
@@ -823,66 +813,6 @@ func UploadedByContainsFold(v string) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldContainsFold(FieldUploadedBy, v))
|
||||
}
|
||||
|
||||
// ArchivedEQ applies the EQ predicate on the "archived" field.
|
||||
func ArchivedEQ(v bool) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldArchived, v))
|
||||
}
|
||||
|
||||
// ArchivedNEQ applies the NEQ predicate on the "archived" field.
|
||||
func ArchivedNEQ(v bool) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldNEQ(FieldArchived, v))
|
||||
}
|
||||
|
||||
// ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
|
||||
func ArchivedAtEQ(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
|
||||
func ArchivedAtNEQ(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldNEQ(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtIn applies the In predicate on the "archived_at" field.
|
||||
func ArchivedAtIn(vs ...int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldIn(FieldArchivedAt, vs...))
|
||||
}
|
||||
|
||||
// ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
|
||||
func ArchivedAtNotIn(vs ...int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldNotIn(FieldArchivedAt, vs...))
|
||||
}
|
||||
|
||||
// ArchivedAtGT applies the GT predicate on the "archived_at" field.
|
||||
func ArchivedAtGT(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldGT(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
|
||||
func ArchivedAtGTE(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldGTE(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtLT applies the LT predicate on the "archived_at" field.
|
||||
func ArchivedAtLT(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldLT(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
|
||||
func ArchivedAtLTE(v int64) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldLTE(FieldArchivedAt, v))
|
||||
}
|
||||
|
||||
// ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
|
||||
func ArchivedAtIsNil() predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldIsNull(FieldArchivedAt))
|
||||
}
|
||||
|
||||
// ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
|
||||
func ArchivedAtNotNil() predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldNotNull(FieldArchivedAt))
|
||||
}
|
||||
|
||||
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
||||
func DeletedEQ(v bool) predicate.Attachment {
|
||||
return predicate.Attachment(sql.FieldEQ(FieldDeleted, v))
|
||||
|
||||
Reference in New Issue
Block a user