From a8bb23b90b99f1898c2a0d0335115c69a6db761d Mon Sep 17 00:00:00 2001
From: zyh <zyh@123>
Date: 星期六, 24 一月 2026 08:33:19 +0800
Subject: [PATCH] 添加了联结器库特殊站点时调用AGV特殊模板,添加人员入侵系统检测到有人时急停AGV的接口,修复AGV工作档没有任务号的漏洞
---
src/main/resources/mapper/AppVersionMapper.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/AppVersionMapper.xml b/src/main/resources/mapper/AppVersionMapper.xml
index 2084f9b..7d77cd6 100644
--- a/src/main/resources/mapper/AppVersionMapper.xml
+++ b/src/main/resources/mapper/AppVersionMapper.xml
@@ -12,4 +12,18 @@
</resultMap>
+ <select id="getLatestApp" resultMap="BaseResultMap">
+ select top 1 * from asr_app_version
+ where type = #{type} and latest = 1
+ </select>
+
+ <update id="updateLatest">
+ update asr_app_version
+ set latest = #{latest}
+ where 1 = 1
+ <if test="type != null || type != ''">
+ and type = #{type}
+ </if>
+ </update>
+
</mapper>
--
Gitblit v1.9.1