fix: some api bug
This commit is contained in:
@@ -40,7 +40,7 @@ func (_d *WalletDelete) ExecX(ctx context.Context) int {
|
||||
}
|
||||
|
||||
func (_d *WalletDelete) sqlExec(ctx context.Context) (int, error) {
|
||||
_spec := sqlgraph.NewDeleteSpec(wallet.Table, sqlgraph.NewFieldSpec(wallet.FieldID, field.TypeInt))
|
||||
_spec := sqlgraph.NewDeleteSpec(wallet.Table, sqlgraph.NewFieldSpec(wallet.FieldID, field.TypeInt64))
|
||||
if ps := _d.mutation.predicates; len(ps) > 0 {
|
||||
_spec.Predicate = func(selector *sql.Selector) {
|
||||
for i := range ps {
|
||||
|
||||
Reference in New Issue
Block a user