fix: balance issue

This commit is contained in:
Rogee
2025-05-15 16:25:57 +08:00
parent 7ebab50d1e
commit f950fc0a8e
4 changed files with 9 additions and 8 deletions

View File

@@ -167,6 +167,7 @@ func (m *usersModel) Update(ctx context.Context, id int64, userModel *model.User
stmt := tbl.
UPDATE(
tbl.MutableColumns.Except(
tbl.Balance,
tbl.CreatedAt,
tbl.DeletedAt,
),