fix: some api bug

This commit is contained in:
wwweww
2026-03-31 22:12:06 +08:00
parent c5ff4f0216
commit e7970ac25f
219 changed files with 16195 additions and 2126 deletions
@@ -420,6 +420,16 @@ func SearchTextHasSuffix(v string) predicate.WalletTransactions {
return predicate.WalletTransactions(sql.FieldHasSuffix(FieldSearchText, v))
}
// SearchTextIsNil applies the IsNil predicate on the "search_text" field.
func SearchTextIsNil() predicate.WalletTransactions {
return predicate.WalletTransactions(sql.FieldIsNull(FieldSearchText))
}
// SearchTextNotNil applies the NotNil predicate on the "search_text" field.
func SearchTextNotNil() predicate.WalletTransactions {
return predicate.WalletTransactions(sql.FieldNotNull(FieldSearchText))
}
// SearchTextEqualFold applies the EqualFold predicate on the "search_text" field.
func SearchTextEqualFold(v string) predicate.WalletTransactions {
return predicate.WalletTransactions(sql.FieldEqualFold(FieldSearchText, v))