From c1ef2d1fc4c0dae2bc8452924dcd77a0ff3a1ef5 Mon Sep 17 00:00:00 2001
From: cpT <1@123>
Date: 星期四, 19 六月 2025 15:02:52 +0800
Subject: [PATCH] #改造

---
 src/main/resources/mapper/DeviceErrorMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/DeviceErrorMapper.xml b/src/main/resources/mapper/DeviceErrorMapper.xml
index 199c16e..932df28 100644
--- a/src/main/resources/mapper/DeviceErrorMapper.xml
+++ b/src/main/resources/mapper/DeviceErrorMapper.xml
@@ -13,13 +13,13 @@
 
     <sql id="batchSeq">
         <if test="id != null and id != 0">
-            and a.ID = #{id}
+            and ID = #{id}
         </if>
         <if test="device != null and device != ''">
-            and a.DEVICE = #{device}
+            and DEVICE = #{device}
         </if>
         <if test="deviceId != null and deviceId != 0">
-            and a.DEVICE_ID = #{deviceId}
+            and DEVICE_ID = #{deviceId}
         </if>
     </sql>
 

--
Gitblit v1.9.1