forked from yoone/API
fix(service): 修改客户服务中的默认排序顺序
将默认排序从 orders ASC 改为 orders DESC 以符合业务需求
This commit is contained in:
parent
9558761d17
commit
ee68923f26
|
|
@ -283,7 +283,7 @@ export class CustomerService {
|
|||
orderByClause = `ORDER BY ${orderClauses.join(', ')}`;
|
||||
}
|
||||
} else {
|
||||
orderByClause = 'ORDER BY orders ASC, yoone_total DESC';
|
||||
orderByClause = 'ORDER BY orders DESC, yoone_total DESC';
|
||||
}
|
||||
|
||||
// 主查询
|
||||
|
|
|
|||
Loading…
Reference in New Issue