From 0e9686edc067b0779562bfa2452d49daf4cb7b18 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期四, 10 八月 2023 14:59:33 +0800 Subject: [PATCH] 指令 --- src/main/resources/mapper/CommandInfoMapper.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/CommandInfoMapper.xml b/src/main/resources/mapper/CommandInfoMapper.xml index 84f6f52..ef5f79b 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,9 @@ and task_no = #{taskNo} </select> + <select id="selectByWrkNo" resultMap="BaseResultMap"> + select * from wcs_command_info + where wrk_no = #{wrkNo} + </select> + </mapper> -- Gitblit v1.9.1