From 63f731641998edc06c1e0409ab1901260d36154b Mon Sep 17 00:00:00 2001
From: lsh <1>
Date: 星期四, 11 一月 2024 18:05:20 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkMastMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index b0937e5..21db737 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -106,6 +106,14 @@
select top 1 * from dbo.asr_wrk_mast where wrk_no=#{workNo}
</select>
+ <select id="selectPakInStep4" 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>
+
+ <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>
+
<select id="selectPickStep" resultMap="BaseResultMap">
select top 1 * from asr_wrk_mast where barcode=#{barcode} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104)
</select>
--
Gitblit v1.9.1