This commit is contained in:
Kyaru
2026-06-28 00:35:31 +08:00
parent 904797e9e9
commit 84e0862356
7 changed files with 12 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ async function list(req, res) {
const [rows] = await pool.query(
`SELECT c.*
FROM customers c
${where} ORDER BY c.id DESC LIMIT ? OFFSET ?`,
${where} ORDER BY c.id ASC LIMIT ? OFFSET ?`,
[...params, pageSize, offset]
)