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