From 4f12ad6236080d1f2284d7b7efcf8dc16c241c04 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: Tue, 29 Oct 2024 16:17:17 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E6=94=AF?=
=?UTF-8?q?=E6=8C=81=E6=8C=89=E7=85=A7IP=E6=A3=80=E7=B4=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/genersoft/iot/vmp/gb28181/dao/DeviceMapper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceMapper.java
index 340a50e1..4f7895b3 100755
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceMapper.java
@@ -342,7 +342,7 @@ public interface DeviceMapper {
" FROM wvp_device de" +
" where 1 = 1 "+
" AND de.on_line=${status}"+
- " AND (coalesce(custom_name, name) LIKE '%${query}%' OR device_id LIKE '%${query}%') " +
+ " AND (coalesce(custom_name, name) LIKE '%${query}%' OR device_id LIKE '%${query}%' OR ip LIKE '%${query}%') " +
" order by create_time desc "+
" ")
List getDeviceList(@Param("query") String query, @Param("status") Boolean status);