From e8e5e1325dc7fb32e73afd1ed20938ab89ce7421 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期四, 05 二月 2026 09:01:38 +0800
Subject: [PATCH] 空板退回

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 2ba1fda..33833c1 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -103,7 +103,7 @@
     </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 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)) or (wrk_sts=2 and (io_type=53 or io_type=54 or io_type=57)))
     </select>
 
     <select id="selectPakOutStep1" resultMap="BaseResultMap">

--
Gitblit v1.9.1