From 1ba343ab3a7cd5cbabfef6a27a5344051f526793 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 25 十一月 2025 16:49:50 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 0187fbe..dbe06de 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -22,149 +22,17 @@
         <result column="error_memo" property="errorMemo" />
         <result column="memo" property="memo" />
         <result column="barcode" property="barcode" />
-        <result column="shuttle_no" property="shuttleNo" />
-        <result column="lift_no" property="liftNo" />
+        <result column="crn_no" property="crnNo" />
+        <result column="rgv_no" property="rgvNo" />
         <result column="wms_wrk_no" property="wmsWrkNo" />
         <result column="system_msg" property="systemMsg" />
 
     </resultMap>
 
-    <select id="selectPakInStep1" resultMap="BaseResultMap">
-        select * from asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=2 and barcode=#{barcode} and (io_type=1 or io_type=10) order by io_pri desc,io_time,wrk_no ASC limit 0,1
-    </select>
-
-    <select id="selectPakInStep11" resultMap="BaseResultMap">
-        select * from asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=1 and (io_type=1 or io_type=10) order by io_pri desc,io_time,wrk_no ASC limit 0,1
-    </select>
-
-    <select id="selectInStep4" resultMap="BaseResultMap">
-        select *
-        from asr_wrk_mast
-        where 1=1
-        and wrk_sts = 4
-        and io_type in (1,10,53,57)
-        order by io_pri desc,wrk_sts desc
-    </select>
-
     <select id="selectByWorkNo" resultMap="BaseResultMap">
         select * from asr_wrk_mast
         where wrk_no=#{workNo}
         limit 0,1
-    </select>
-
-    <select id="selectLiftStep223103" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and wrk_sts in (2,103,303)
-        order by io_pri desc,wrk_sts desc
-    </select>
-
-    <select id="selectByWorkNo324104" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where wrk_no=#{workNo}
-        and wrk_sts in (3,104,303,306)
-        limit 0,1
-    </select>
-
-    <select id="selectBy2125" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where wrk_sts in (101,105)
-        and io_type in (101,103,107,110)
-        order by io_pri desc,wrk_sts desc
-    </select>
-
-    <select id="selectShuttleWrkByLev" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where shuttle_no is not null
-        and ((wrk_sts not in (9,10)  and loc_no like #{lev}) or (wrk_sts not in (29,30) and source_loc_no like #{lev}))
-        order by io_pri desc,wrk_sts desc
-    </select>
-
-    <select id="selectShuttleOutWrkByLev" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where shuttle_no is not null
-        and (wrk_sts not in (109,110) and source_loc_no like #{lev})
-        order by io_pri desc,wrk_sts desc
-    </select>
-
-    <select id="selectLiftWrkMast" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where lift_no = #{liftNo}
-    </select>
-
-    <select id="selectLocToLocWrkMast" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where io_type in (11)
-        and wrk_sts not in (9,10,109,110)
-        order by io_pri desc,wrk_sts desc
-    </select>
-
-    <select id="selectPickStepByBarcode" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where io_type in (53,103,107)
-        and wrk_sts in (2,3,104,109)
-        and barcode = #{barcode}
-        order by io_pri desc,wrk_sts desc
-        limit 0,1
-    </select>
-
-    <select id="selectShuttleHasMoveWorking" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and shuttle_no = #{shuttleNo}
-        and wrk_sts not in (311)
-        and io_type = 200
-        order by io_pri desc,io_time,wrk_no asc
-        limit 0,1
-    </select>
-
-    <select id="selectShuttleMoveWrk" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and wrk_sts in (301,302,303,304,305,306,307,308,309,310,311)
-        and io_type = 200
-        order by io_pri desc,io_time,wrk_no asc
-    </select>
-
-    <select id="selectShuttleWorking" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and shuttle_no = #{shuttleNo}
-        and wrk_sts not in (9,10,109,110,210)
-        and io_type not in (200,300)
-        order by io_pri desc,io_time,wrk_no asc
-        limit 0,1
-    </select>
-
-    <select id="selectByBarcode" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and barcode = #{barcode}
-        order by io_pri desc,io_time,wrk_no asc
-        limit 0,1
-    </select>
-
-    <select id="selectInWrkMastByLiftNo" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where 1=1
-        and lift_no = #{liftNo}
-        and io_type &lt;= 100
-        and wrk_sts in (1,2,3,4,5)
-        order by io_pri desc,io_time,wrk_no asc
-    </select>
-
-    <select id="selectChargeWorking" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where io_type in (300)
-        and shuttle_no = #{shuttleNo}
-        order by io_pri desc,io_time,wrk_no asc
-    </select>
-
-    <select id="selectChargeWorkingByChargeSta" resultMap="BaseResultMap">
-        select * from asr_wrk_mast
-        where wrk_sts in (201,202,203,204,205,210)
-        and mk = #{chargeSta}
-        order by io_pri desc,io_time,wrk_no asc
     </select>
 
 </mapper>

--
Gitblit v1.9.1