From 3b17ccf3fd001cbec7a8bac368f07cd9237faae8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 27 十月 2025 12:54:36 +0800
Subject: [PATCH] 侧面出库完成上报执行状态替代plc码盘完成信号交互
---
src/main/resources/mapper/TaskWrkMapper.xml | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/TaskWrkMapper.xml b/src/main/resources/mapper/TaskWrkMapper.xml
index dc4e37c..6106ba4 100644
--- a/src/main/resources/mapper/TaskWrkMapper.xml
+++ b/src/main/resources/mapper/TaskWrkMapper.xml
@@ -25,7 +25,10 @@
<result column="command_step" property="commandStep" />
<result column="transfer_mark" property="transferMark" />
<result column="mark_start" property="markStart"/>
-
+ <result column="mp" property="mp"/>
+ <result column="lx" property="lx"/>
+ <result column="lev" property="lev"/>
+ <result column="mp_completed_report" property="mpCompletedReport"/>
</resultMap>
<select id="selectByTaskNo" resultMap="BaseResultMap">
@@ -37,10 +40,16 @@
<select id="selectByStartPoint" resultMap="BaseResultMap">
select top 1 * from wcs_task_wrk
where 1=1
- and io_type=3
and start_point = #{startPoint}
</select>
+ <select id="selectByTargetPoint" resultMap="BaseResultMap">
+ select top 1 * from wcs_task_wrk
+ where 1=1
+ and target_point = #{targetPoint}
+ </select>
+
+
<select id="selectByBarcode" resultMap="BaseResultMap">
select top 1 * from wcs_task_wrk
where 1=1
--
Gitblit v1.9.1