From e657578ef122c8a6a4d60123cf8a4d6a709588de Mon Sep 17 00:00:00 2001 From: tikkhun Date: Fri, 30 Jan 2026 16:34:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(service):=20=E4=BF=AE=E6=94=B9=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E6=9C=8D=E5=8A=A1=E4=B8=AD=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将默认排序从 orders ASC 改为 orders DESC 以符合业务需求 --- src/service/customer.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/customer.service.ts b/src/service/customer.service.ts index 8c1a299..908f69a 100644 --- a/src/service/customer.service.ts +++ b/src/service/customer.service.ts @@ -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'; } // 主查询