From 0069b25d77cf2dd36b030fa4c86d4f3738f552e8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 13 五月 2025 08:44:37 +0800
Subject: [PATCH] 跑库测试程序

---
 src/main/resources/mapper/CommandInfoMapper.xml |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/CommandInfoMapper.xml b/src/main/resources/mapper/CommandInfoMapper.xml
index 84f6f52..e2158ff 100644
--- a/src/main/resources/mapper/CommandInfoMapper.xml
+++ b/src/main/resources/mapper/CommandInfoMapper.xml
@@ -9,11 +9,12 @@
         <result column="task_no" property="taskNo" />
         <result column="command_status" property="commandStatus" />
         <result column="start_time" property="startTime" />
-        <result column="end_time" property="endTime" />
         <result column="command_type" property="commandType" />
         <result column="device" property="device" />
         <result column="device_log" property="deviceLog" />
         <result column="command_desc" property="commandDesc" />
+        <result column="execute_time" property="executeTime" />
+        <result column="complete_time" property="completeTime" />
 
     </resultMap>
 
@@ -23,4 +24,20 @@
         and task_no = #{taskNo}
     </select>
 
+    <select id="selectByWrkNo" resultMap="BaseResultMap">
+        select * from wcs_command_info
+        where wrk_no = #{wrkNo}
+    </select>
+
+    <select id="selectByTaskNo" resultMap="BaseResultMap">
+        select * from wcs_command_info
+        where task_no = #{taskNo}
+    </select>
+
+    <select id="selectCompleteManualCommand" resultMap="BaseResultMap">
+        select * from wcs_command_info
+        where command_type = 2
+        and command_status = 3
+    </select>
+
 </mapper>

--
Gitblit v1.9.1