From 81826e66f68a37486516ee93c4e11d92a00c3fb6 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期四, 21 十二月 2023 14:43:21 +0800
Subject: [PATCH] 增加清除id调用终止出片任务

---
 springboot-vue3/src/main/resources/com/example/springboot/mapper/DeviceMapper.xml |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/springboot-vue3/src/main/resources/com/example/springboot/mapper/DeviceMapper.xml b/springboot-vue3/src/main/resources/com/example/springboot/mapper/DeviceMapper.xml
index 5cc5c18..769c418 100644
--- a/springboot-vue3/src/main/resources/com/example/springboot/mapper/DeviceMapper.xml
+++ b/springboot-vue3/src/main/resources/com/example/springboot/mapper/DeviceMapper.xml
@@ -2,39 +2,39 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.example.springboot.mapper.device.DeviceMapper">
 
-    <resultMap id="myResultMap" type="com.example.springboot.entity.device.DeviceEntity">
-        <!-- 鏍规嵁浣犵殑瀹為檯鎯呭喌瀹氫箟缁撴灉鏄犲皠 -->
-        <!-- 绀轰緥涓皢缁撴灉鏄犲皠鍒板疄浣撶被鐨勫睘鎬� -->
-        <id property="id" column="id"/>
-        <result property="name" column="device_name"/>
-        <!-- 鍏朵粬灞炴�ф槧灏� -->
-    </resultMap>
+<!--    <resultMap id="myResultMap" type="com.example.springboot.entity.device.DeviceEntity">-->
+<!--        &lt;!&ndash; 鏍规嵁浣犵殑瀹為檯鎯呭喌瀹氫箟缁撴灉鏄犲皠 &ndash;&gt;-->
+<!--        &lt;!&ndash; 绀轰緥涓皢缁撴灉鏄犲皠鍒板疄浣撶被鐨勫睘鎬� &ndash;&gt;-->
+<!--        <id property="id" column="id"/>-->
+<!--        <result property="name" column="device_name"/>-->
+<!--        &lt;!&ndash; 鍏朵粬灞炴�ф槧灏� &ndash;&gt;-->
+<!--    </resultMap>-->
 
-    <select id="selectAllDevices" resultMap="myResultMap">
-        SELECT *
-        FROM device
-    </select>
+<!--    <select id="selectAllDevices" resultMap="myResultMap">-->
+<!--        SELECT *-->
+<!--        FROM device-->
+<!--    </select>-->
 
-    <select id="callStoredProc" statementType="CALLABLE" resultMap="myResultMap">
-        { call Your_Stored_Procedure(
-                #{id, mode=IN, jdbcType=VARCHAR},
-                #{name, mode=IN, jdbcType=VARCHAR}
+<!--    <select id="callStoredProc" statementType="CALLABLE" resultMap="myResultMap">-->
+<!--        { call Your_Stored_Procedure(-->
+<!--                #{id, mode=IN, jdbcType=VARCHAR},-->
+<!--                #{name, mode=IN, jdbcType=VARCHAR}-->
 
-            ) }
-    </select>
+<!--            ) }-->
+<!--    </select>-->
 
-    <update id="updateDeviceName">
-        UPDATE device SET
-                          device_name = #{deviceName},
-                          address = #{address}
-        WHERE id = #{id}
-    </update>
-    <update id="updateMultipleDevices" parameterType="java.util.List">
-        <foreach collection="list" item="device" separator=";">
-            UPDATE device SET
-            device_name = #{device.deviceName},
-            address = #{device.address}
-            WHERE id = #{device.id}
-        </foreach>
-    </update>
+<!--    <update id="updateDeviceName">-->
+<!--        UPDATE device SET-->
+<!--                          device_name = #{deviceName},-->
+<!--                          address = #{address}-->
+<!--        WHERE id = #{id}-->
+<!--    </update>-->
+<!--    <update id="updateMultipleDevices" parameterType="java.util.List">-->
+<!--        <foreach collection="list" item="device" separator=";">-->
+<!--            UPDATE device SET-->
+<!--            device_name = #{device.deviceName},-->
+<!--            address = #{device.address}-->
+<!--            WHERE id = #{device.id}-->
+<!--        </foreach>-->
+<!--    </update>-->
 </mapper>

--
Gitblit v1.8.0