forked from yoone/API
1
0
Fork 0

默认排序

This commit is contained in:
cll 2025-07-21 09:28:01 +08:00
parent ba777c3563
commit 343379519b
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export class CustomerService {
? `ORDER BY ${sorterKey} ${ ? `ORDER BY ${sorterKey} ${
sorterValue === 'descend' ? 'DESC' : 'ASC' sorterValue === 'descend' ? 'DESC' : 'ASC'
}` }`
: '' : 'ORDER BY orders ASC, yoone_total DESC'
} }
limit ${pageSize} offset ${(current - 1) * pageSize} limit ${pageSize} offset ${(current - 1) * pageSize}
`; `;