From 297bee4a1d9dded9c903dad6b4a23d3110be1b3d Mon Sep 17 00:00:00 2001 From: zhaokai Date: Mon, 29 Dec 2025 17:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E5=85=A5=E8=81=8C?= =?UTF-8?q?=E7=A6=BB=E8=81=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-infrastructure/src/main/resources/mapper/UserMapper.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web-infrastructure/src/main/resources/mapper/UserMapper.xml b/web-infrastructure/src/main/resources/mapper/UserMapper.xml index 5d212535..0ebf8368 100644 --- a/web-infrastructure/src/main/resources/mapper/UserMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/UserMapper.xml @@ -335,7 +335,10 @@ AND u.employment_flag = #{params.eqEmploymentFlag} - ORDER BY + ORDER BY CASE + WHEN u.employment_flag IN ('10', '11') THEN 1 + ELSE 2 + END ASC, u.sort ASC, u.create_time DESC