From 4282d15a5e69a6b4c822c87d27a1ed6e7e618f00 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 02 七月 2025 13:29:12 +0800
Subject: [PATCH] 初始化1.0

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

diff --git a/src/main/resources/mapper/TaskWrkMapper.xml b/src/main/resources/mapper/TaskWrkMapper.xml
index f6effb7..6350877 100644
--- a/src/main/resources/mapper/TaskWrkMapper.xml
+++ b/src/main/resources/mapper/TaskWrkMapper.xml
@@ -34,10 +34,18 @@
         and task_no = #{taskNo}
     </select>
 
+    <select id="selectByTargetPoint" resultMap="BaseResultMap">
+        select top 1 * from wcs_task_wrk
+        where 1=1
+          and io_type=2
+          and target_point = #{targetPoint}
+    </select>
+
+
     <select id="selectByStartPoint" resultMap="BaseResultMap">
         select top 1 * from wcs_task_wrk
         where 1=1
-        and io_type=3
+        and io_type=1
         and start_point = #{startPoint}
     </select>
 
@@ -141,4 +149,10 @@
         order by io_pri desc,create_time,wrk_no ASC
     </select>
 
+    <select id="selectStaWorking" resultMap="BaseResultMap">
+        select top 1 * from dbo.wcs_task_wrk_log
+        where wrk_no = #{workNo}
+        order by create_time DESC
+    </select>
+
 </mapper>

--
Gitblit v1.9.1