From a3c831343b4a975cb3bf71e5c8300e4598bcfef4 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 25 十二月 2025 11:45:13 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastStaMapper.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index ebc1221..9250187 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -119,10 +119,12 @@
         or sta_end = 0
         )
         and wrk_sts=0
-        and sta_end in (2006.2012,2018,2024,2030,1004,1014,1018,1028,1035)
         and wrk_no = #{workNo}
-        order by
-        case when mk = 1 then 0 else 1 end,
+        ORDER BY
+        CASE
+        WHEN mk = 1 THEN 0
+        ELSE 1
+        END,
         line_number,
         id
     </select>

--
Gitblit v1.9.1