谭斌 2 years ago
parent
commit
2b643372c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

+ 1 - 1
device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

@@ -171,7 +171,7 @@
         </if>
 
         <if test="queryPage.deviceName != null and queryPage.deviceName != ''">
-            and LOCATE(#{queryPage.deviceName}, sysinfo.device_name) > 0
+            and LOCATE(#{queryPage.deviceName}, info.device_name) > 0
         </if>
         <if test="queryPage.no != null and queryPage.no != ''">
             and (