浏览代码

mqtt指令发布

李进 2 年之前
父节点
当前提交
c11c84f49e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

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

@@ -57,7 +57,7 @@
         </if>
         <if test="queryPage.merc != null and queryPage.merc != ''">
             and (
-                info.merc_id = #{queryPage.merc} or info.merc_code = #{queryPage.merc} or LOCATE(#{queryPage.merc}, mr.merc_name) > 0
+                info.merc_id = #{queryPage.merc} or info.merc_code = #{queryPage.merc} or LOCATE(#{queryPage.merc}, mr.name) > 0
             )
         </if>
         <if test="queryPage.appUpmVersion != null and queryPage.appUpmVersion != ''">