新增翻页相关功能

This commit is contained in:
dzl
2025-10-14 16:27:00 +08:00
parent 9b2d5c0ce2
commit bb91a76a7e
4 changed files with 75 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ router.get('/', async (req, res) => {
const params = [];
if (search) {
whereClause += ' AND name LIKE ?';
whereClause += ' AND amount LIKE ?';
params.push(`%${search}%`);
}