From 2e53fdad625825a7cfb24b849494ebb5026a4d67 Mon Sep 17 00:00:00 2001
From: liuhaonan <31457034@qq.com>
Date: 星期四, 10 十一月 2022 09:30:47 +0800
Subject: [PATCH] changes

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

diff --git a/dao/src/main/resources/mapper/PoleBindingMapper.xml b/dao/src/main/resources/mapper/PoleBindingMapper.xml
index d23236e..92f0a44 100644
--- a/dao/src/main/resources/mapper/PoleBindingMapper.xml
+++ b/dao/src/main/resources/mapper/PoleBindingMapper.xml
@@ -26,6 +26,7 @@
         LEFT JOIN pole t2 ON t1.pole_id = t2.id
         <where>
             t1.device_code = #{Mac}
+            AND t1.device_type=0
             <if test="type != null">
                 AND t1.device_type = #{type}
             </if>

--
Gitblit v1.9.3