From f291be24a072b4c8993106247e3142b0dcc5f480 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期六, 07 十月 2023 18:02:32 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/WrkChargeMapper.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/WrkChargeMapper.xml b/src/main/resources/mapper/WrkChargeMapper.xml
index 373a6a0..b029dfc 100644
--- a/src/main/resources/mapper/WrkChargeMapper.xml
+++ b/src/main/resources/mapper/WrkChargeMapper.xml
@@ -31,13 +31,22 @@
</resultMap>
- <select id="selectWorkingOfCharge" resultMap="BaseResultMap">
+ <select id="selectWorking" resultMap="BaseResultMap">
select top 1 *
from asr_wrk_charge
where 1=1
<if test="shuttleNo != null">
and shuttle_no = #{shuttleNo}
</if>
+ and wrk_sts < 60
+ and memo = 'charge'
+ order by appe_time, io_pri desc
+ </select>
+
+ <select id="selectWorkingOfCharge" resultMap="BaseResultMap">
+ select top 1 *
+ from asr_wrk_charge
+ where 1=1
<if test="charge != null">
and charge = #{charge}
</if>
--
Gitblit v1.9.1