From db093d853136fa7809eb1c5e512656bfb8980d15 Mon Sep 17 00:00:00 2001
From: lsh <lsh123456>
Date: 星期五, 05 四月 2024 19:13:22 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkMastMapper.xml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index dbe1332..2e8cee7 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -73,6 +73,10 @@
select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} or loc_no = #{sourceLocNo}
</select>
+ <select id="selectBy122ManQu" resultMap="BaseResultMap">
+ select top 1 * from asr_wrk_mast where sta_no = #{staNo} and io_type = #{ioType} and wrk_sts = #{wrkSts}
+ </select>
+
<select id="selectToBeCompleteData" resultMap="BaseResultMap">
select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,io_time,wrk_no
</select>
@@ -111,7 +115,7 @@
</select>
<select id="selectPakInStep5" resultMap="BaseResultMap">
- select top 1 * from dbo.asr_wrk_mast where sta_no=#{staNo} and wrk_sts = 14 and io_type>100 and sheet_no!=#{sheetNo}
+ select top 1 * from dbo.asr_wrk_mast where sta_no=#{staNo} and wrk_sts = 14 and io_type>100 and sheet_no!=#{sheetNo} and sheet_no!= '0'
</select>
<select id="selectPickStep" resultMap="BaseResultMap">
--
Gitblit v1.9.1