From f5fd9417e4325c27797d1a797cfc8d1b2d1f63c5 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Wed, 15 Oct 2025 17:14:48 +0800
Subject: [PATCH] 1.修改备注。 2.修改服务器管理ID名称。 3.增加批量新增无人机盒子接口。 4.增加公共方法类。

---
 ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml b/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
index f7022d2..6029346 100644
--- a/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
+++ b/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
@@ -4,7 +4,7 @@
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ard.work.mapper.ArdServerInfoMapper">
     
-    <resultMap type="ArdServerInfo" id="ArdServerManagementResult">
+    <resultMap type="ArdServerInfo" id="ArdServerInfoResult">
         <result property="id"    column="id"    />
         <result property="serverName"    column="server_name"    />
         <result property="host"    column="host"    />
@@ -113,6 +113,14 @@
         where id = #{id}
     </update>
 
+    <update id="updateServerStatus" parameterType="String">
+        update ard_server_info
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="serverStatus != null">server_status = #{serverStatus},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
     <delete id="deleteArdServerInfoById" parameterType="String">
         delete from ard_server_info where id = #{id}
     </delete>

--
Gitblit v1.9.3