Explorar el Código

add:根据用户名查找设备功能

wulianwei hace 4 semanas
padre
commit
5c03243ffe
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/main/resources/mapper/DeviceRelevancyMapper.xml

+ 2 - 0
src/main/resources/mapper/DeviceRelevancyMapper.xml

@@ -47,6 +47,8 @@
                 sim like CONCAT('%',#{keyWord,jdbcType=VARCHAR},'%')
                 or
                 mac like CONCAT('%',#{keyWord,jdbcType=VARCHAR},'%')
+                or 
+                u.username like CONCAT('%',#{keyWord,jdbcType=VARCHAR},'%')
                 )
             </if>
             <if test="productId != null and productId != ''">