feat: add linkedMemoAmount to resource

This commit is contained in:
steven
2022-10-03 09:39:49 +08:00
parent 05e46ee4a8
commit 85dc29bfb9
3 changed files with 14 additions and 1 deletions

View File

@ -223,7 +223,7 @@ func findResourceList(ctx context.Context, tx *sql.Tx, find *api.ResourceFind) (
updated_ts
FROM resource
WHERE ` + strings.Join(where, " AND ") + `
ORDER BY created_ts DESC
ORDER BY id DESC
`
rows, err := tx.QueryContext(ctx, query, args...)
if err != nil {