From bdb924aaaef6a8d282ed2d34850cfd229d5865c7 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 08 十二月 2025 09:31:42 +0800
Subject: [PATCH] #增加许可证
---
src/main/resources/mapper/WrkMastMapper.xml | 27 +++++++++++++--------------
1 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 75874ef..0187fbe 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -9,7 +9,6 @@
<result column="wrk_sts" property="wrkSts" />
<result column="io_type" property="ioType" />
<result column="io_pri" property="ioPri" />
- <result column="wrk_date" property="wrkDate" />
<result column="loc_no" property="locNo" />
<result column="sta_no" property="staNo" />
<result column="source_sta_no" property="sourceStaNo" />
@@ -25,6 +24,8 @@
<result column="barcode" property="barcode" />
<result column="shuttle_no" property="shuttleNo" />
<result column="lift_no" property="liftNo" />
+ <result column="wms_wrk_no" property="wmsWrkNo" />
+ <result column="system_msg" property="systemMsg" />
</resultMap>
@@ -46,7 +47,7 @@
</select>
<select id="selectByWorkNo" resultMap="BaseResultMap">
- select * from dbo.asr_wrk_mast
+ select * from asr_wrk_mast
where wrk_no=#{workNo}
limit 0,1
</select>
@@ -72,13 +73,6 @@
order by io_pri desc,wrk_sts desc
</select>
- <select id="selectNoShuttleWrkByLev" resultMap="BaseResultMap">
- select * from asr_wrk_mast
- where shuttle_no is null
- and ((wrk_sts = 2 and loc_no like #{lev}) or (wrk_sts = 101 and source_loc_no like #{lev}))
- 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
@@ -96,8 +90,6 @@
<select id="selectLiftWrkMast" resultMap="BaseResultMap">
select * from asr_wrk_mast
where lift_no = #{liftNo}
- and wrk_sts in (3,4,104,105,302,303,304,305,306,307,308,309)
- limit 0,1
</select>
<select id="selectLocToLocWrkMast" resultMap="BaseResultMap">
@@ -139,7 +131,7 @@
where 1=1
and shuttle_no = #{shuttleNo}
and wrk_sts not in (9,10,109,110,210)
- and io_type not in (200)
+ and io_type not in (200,300)
order by io_pri desc,io_time,wrk_no asc
limit 0,1
</select>
@@ -163,9 +155,16 @@
<select id="selectChargeWorking" resultMap="BaseResultMap">
select * from asr_wrk_mast
- where wrk_sts in (201,202,203)
+ where io_type in (300)
and shuttle_no = #{shuttleNo}
- order by priority desc,start_time,wrk_no asc
+ 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