瀏覽代碼

设备管理新增筛选1

jichaobo 3 年之前
父節點
當前提交
c67340cde4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fiveep-persistence/src/main/resources/mapper/mysql/DeviceAttributeMapper.xml

+ 1 - 1
fiveep-persistence/src/main/resources/mapper/mysql/DeviceAttributeMapper.xml

@@ -50,7 +50,7 @@
                 and a.site_name LIKE CONCAT(CONCAT('%', #{siteName}), '%')
             </if>
             <if test="userName != null and userName !=''">
-                and a.userName LIKE CONCAT(CONCAT('%', #{userName}), '%')
+                and a.user_name LIKE CONCAT(CONCAT('%', #{userName}), '%')
             </if>
             <if test="phone != null and phone !=''">
                 and a.phone LIKE CONCAT(CONCAT('%', #{phone}), '%')