From b6dccb271639d18249f796a51a492ed1a4c3f2a6 Mon Sep 17 00:00:00 2001
From: zhanzhiqin <895896009@qq.com>
Date: 星期一, 16 五月 2022 16:17:16 +0800
Subject: [PATCH] 操作日志

---
 dao/src/main/resources/mapper/PoleBindingMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dao/src/main/resources/mapper/PoleBindingMapper.xml b/dao/src/main/resources/mapper/PoleBindingMapper.xml
index 888d905..acab21a 100644
--- a/dao/src/main/resources/mapper/PoleBindingMapper.xml
+++ b/dao/src/main/resources/mapper/PoleBindingMapper.xml
@@ -24,7 +24,7 @@
         SELECT t2.*
         FROM `pole_binding` t1
         LEFT JOIN pole t2 ON t1.pole_id = t2.id
-        t1.device_code = #{Mac}
+        WHERE t1.device_code = #{Mac}
         <where>
             <if test="type != null">
                 AND t1.device_type = #{type}

--
Gitblit v1.9.3