From 93ff20c63a5e22e83d08a9e326fe12391eb82abc Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期六, 19 七月 2025 09:31:28 +0800
Subject: [PATCH] 初始化1.0

---
 src/main/resources/mapper/LocMastMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index c82b853..d962abc 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -50,19 +50,19 @@
 
     <select id="queryDemoSourceLoc0" resultMap="BaseResultMap">
         select top 1 * from asr_loc_mast where crn_no = #{crnNo}
-        and loc_sts='D' and row1 in (2,3,6,7)
+        and loc_sts='D' and row1 in (1,2,4,5,8,9)
         ORDER BY NEWID()
     </select>
 
     <select id="queryDemoSourceLoc" resultMap="BaseResultMap">
         select top 1 * from asr_loc_mast where crn_no = #{crnNo}
-        and loc_sts='D' and row1 in (1,4,5,8)
+        and loc_sts='D' and row1 in (1,2,3,6,7,10)
         ORDER BY NEWID()
     </select>
 
     <select id="queryDemoLoc" resultMap="BaseResultMap">
-        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O' and row1 in (1,4,5,8)
-        ORDER BY NEWID()
+        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O' and row1 in(1,2,3,6,7,10)
+        ORDER BY modi_time,bay1 desc
     </select>
 
 </mapper>

--
Gitblit v1.9.1