From 9a10da7c920e5b926ad1278672b1dab7e604edb4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <xltys1995>
Date: 星期四, 17 三月 2022 21:01:51 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 5436457..d9d5431 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -121,7 +121,7 @@
 
     <!-- 鍏ュ簱浠诲姟 -->
     <select id="selectWorkingPakin" resultMap="BaseResultMap">
-        select top 1 * from dbo.asr_wrk_mast where wrk_sts in (2,3,4) and io_type != 11 order by io_time,wrk_no
+        select top 1 * from dbo.asr_wrk_mast where wrk_sts in (2,3,4) and io_type != 11 and source_sta_no = 180 order by io_time,wrk_no
     </select>
 
     <!-- 鍑哄簱浠诲姟 -->
@@ -136,6 +136,7 @@
         where wrk_no > 0)
         ))
         and io_type != 11
+        and source_sta_no = 180
         order by io_time,wrk_no
     </select>
 

--
Gitblit v1.9.1