removed unneeded field, fixed not setting spent amount

This commit is contained in:
2021-10-17 04:17:02 +02:00
parent fd8c026a8e
commit 9973951d4b
9 changed files with 12 additions and 285 deletions

View File

@@ -994,20 +994,6 @@ func DemoParsedNEQ(v bool) predicate.Match {
})
}
// EcoIsNil applies the IsNil predicate on the "eco" field.
func EcoIsNil() predicate.Match {
return predicate.Match(func(s *sql.Selector) {
s.Where(sql.IsNull(s.C(FieldEco)))
})
}
// EcoNotNil applies the NotNil predicate on the "eco" field.
func EcoNotNil() predicate.Match {
return predicate.Match(func(s *sql.Selector) {
s.Where(sql.NotNull(s.C(FieldEco)))
})
}
// HasStats applies the HasEdge predicate on the "stats" edge.
func HasStats() predicate.Match {
return predicate.Match(func(s *sql.Selector) {