From 02f5e6ea1f0eecf37089979facb1c0520edc2d2d Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期二, 13 一月 2026 14:24:11 +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