Bläddra i källkod

设备管理新增筛选1

jichaobo 3 år sedan
förälder
incheckning
c67340cde4

+ 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}), '%')