From 1da741e8519e13d8f92824bf8ef15b92800b70fc Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@gmail.com>
Date: 星期六, 28 六月 2025 16:27:30 +0800
Subject: [PATCH] #

---
 zy-acs-fake/src/main/resources/mapper/AgvDetailMapper.xml |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/zy-acs-fake/src/main/resources/mapper/AgvDetailMapper.xml b/zy-acs-fake/src/main/resources/mapper/AgvDetailMapper.xml
index a5dd373..5de09ec 100644
--- a/zy-acs-fake/src/main/resources/mapper/AgvDetailMapper.xml
+++ b/zy-acs-fake/src/main/resources/mapper/AgvDetailMapper.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.zy.acs.manager.fake.AgvDetailMapper">
+<mapper namespace="com.zy.acs.fake.mapper.AgvDetailMapper">
 
     <!-- 鍏宠仈鏌ヨsql -->
     <sql id="selectSql">
@@ -26,22 +26,19 @@
         </where>
     </sql>
 
-    <update id="updatePosCode">
+    <update id="updatePosCodeByAgvId">
         update man_agv_detail
         set code = #{codeId},
-        last_code = null,
         pos = 1
         where 1=1
-        and id = #{id}
+        and agv_id = #{agvId}
     </update>
 
-    <update id="updateUnPosCode">
+    <update id="updateAngleByAgvId">
         update man_agv_detail
-        set last_code = #{lastCode},
-        code = null,
-        pos = 0
+        set agv_angle = #{angle}
         where 1=1
-        and id = #{id}
+        and agv_id = #{agvId}
     </update>
 
 </mapper>

--
Gitblit v1.9.1