默认排序

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} ${
sorterValue === 'descend' ? 'DESC' : 'ASC'
}`
: ''
: 'ORDER BY orders ASC, yoone_total DESC'
}
limit ${pageSize} offset ${(current - 1) * pageSize}
`;