From 934c0ddfba7543b59927b2ac0cc44827898198b3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 27 一月 2021 14:30:48 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 542323e..df7ccb9 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -62,7 +62,7 @@
 
     </resultMap>
 
-    <select id="selectByLocNo">
+    <select id="selectByLocNo"  resultMap="BaseResultMap">
         select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo}
     </select>
 
@@ -111,4 +111,12 @@
         select top 1 * from dbo.asr_wrk_mast where wrk_sts=11 and io_type=11 and crn_no=#{crnNo} order by io_time,wrk_no
     </select>
 
+    <select id="selectLocMoving" resultMap="BaseResultMap">
+        select top 1 * from dbo.asr_wrk_mast where wrk_sts=12 and io_type=11 and crn_no=#{crnNo} order by io_time,wrk_no
+    </select>
+
+    <select id="selectWorking" resultMap="BaseResultMap">
+        select top 1 * from dbo.asr_wrk_mast where wrk_sts=12 and crn_no=#{crnNo} order by io_time,wrk_no
+    </select>
+
 </mapper>

--
Gitblit v1.9.1