浏览代码

监测系统监控分页修改

gao.qiang 1 年之前
父节点
当前提交
539535acc2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      business-service/src/main/resources/mapper/MonitorSystemMapper.xml

+ 1 - 1
business-service/src/main/resources/mapper/MonitorSystemMapper.xml

@@ -90,7 +90,7 @@
 (select CLIENT_ID,status,MONITOR_SYSTEM_NAME from monitor_system) mon  on log.CLIENT_ID=mon.CLIENT_ID
         <where>
             <if test="monitorSystemName != null and monitorSystemName != ''">
-                and mon.MONITOR_SYSTEM_NAME like concat("%",#{monitorSystemName},"%")
+                and mon.MONITOR_SYSTEM_NAME like concat('%',#{monitorSystemName},'%')
             </if>
             <if test="status != null and status != 0">
                 and mon.status = #{status}