From 871a5789eedf93d21f16bc7f619c5edb7da70f46 Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期一, 25 十一月 2024 16:02:23 +0800
Subject: [PATCH] 新增重新下发堆垛机任务

---
 src/main/resources/mapper/CommandInfoMapper.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/CommandInfoMapper.xml b/src/main/resources/mapper/CommandInfoMapper.xml
index 31878fb..e2158ff 100644
--- a/src/main/resources/mapper/CommandInfoMapper.xml
+++ b/src/main/resources/mapper/CommandInfoMapper.xml
@@ -34,8 +34,10 @@
         where task_no = #{taskNo}
     </select>
 
-    <insert id="saveToHistory">
-        insert into wcs_command_info_log select * from wcs_command_info where task_no = #{taskNo}
-    </insert>
+    <select id="selectCompleteManualCommand" resultMap="BaseResultMap">
+        select * from wcs_command_info
+        where command_type = 2
+        and command_status = 3
+    </select>
 
 </mapper>

--
Gitblit v1.9.1