默认排序
This commit is contained in:
parent
ba777c3563
commit
343379519b
|
|
@ -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}
|
||||||
`;
|
`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue