From 451a5520586cad0b7b69505c3b15189328743f78 Mon Sep 17 00:00:00 2001
From: lsh <lsh>
Date: 星期日, 14 七月 2024 19:01:20 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastExecuteMapper.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastExecuteMapper.xml b/src/main/resources/mapper/WrkMastExecuteMapper.xml
index a194a43..a2c7434 100644
--- a/src/main/resources/mapper/WrkMastExecuteMapper.xml
+++ b/src/main/resources/mapper/WrkMastExecuteMapper.xml
@@ -56,6 +56,14 @@
 
     </sql>
 
+    <select id="getWrkMastExecuteByCharge" resultMap="BaseResultMap">
+        select top 1 * from jar_wrk_mast_execute
+        where 1=1
+        and ste_id = #{steNo}
+        and io_type = 100
+        and wrk_type != 2
+    </select>
+
     <select id="getWrkMastExecuteByWrkNo" resultMap="BaseResultMap">
         select top 1 * from jar_wrk_mast_execute
         where 1=1
@@ -121,6 +129,13 @@
         and io_type in (7,8,10,11)
     </select>
 
+    <select id="selectMoveStartCharge" resultType="Integer">
+        select count(1) from jar_wrk_mast_execute
+        where 1=1
+        and jar_regin = #{jarRegin}
+        and io_type in (8,11)
+    </select>
+
     <select id="selectStart" resultMap="BaseResultMap">
         select top 1 * from jar_wrk_mast_execute
         where 1=1

--
Gitblit v1.9.1