From 92e4be80be068c47d1cdcc059d31d192c6989a39 Mon Sep 17 00:00:00 2001 From: wenjy Date: Wed, 27 Apr 2022 16:02:43 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=A8=A1=E7=B3=8A=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/base/monitorUnitInfo/monitorUnitInfo.html | 4 ++-- .../main/resources/mapper/system/BaseAlarmInfoMapper.xml | 2 +- .../main/resources/mapper/system/BaseAlarmModuleMapper.xml | 2 +- .../main/resources/mapper/system/BaseAlarmTypeMapper.xml | 2 +- .../main/resources/mapper/system/BaseDeviceParamMapper.xml | 2 +- .../main/resources/mapper/system/BaseStationInfoMapper.xml | 2 +- .../main/resources/mapper/system/SysParamConfigMapper.xml | 6 +++--- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/base/monitorUnitInfo/monitorUnitInfo.html b/ruoyi-admin/src/main/resources/templates/base/monitorUnitInfo/monitorUnitInfo.html index 53c50aa..5063521 100644 --- a/ruoyi-admin/src/main/resources/templates/base/monitorUnitInfo/monitorUnitInfo.html +++ b/ruoyi-admin/src/main/resources/templates/base/monitorUnitInfo/monitorUnitInfo.html @@ -10,10 +10,10 @@
    -
  • +
  • diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmInfoMapper.xml index 349e09b..dd6c532 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmInfoMapper.xml @@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join base_alarm_type t2 on t1.AlarmType_Id = t2.alarmType_Id left join base_sensor_info t3 on t1.Sensor_Id = t3.Sensor_Id - and t1.Sensor_Id = #{sensorId} + and t3.Sensor_Name like concat('%', #{sensorId}, '%') and t1.AlarmType_Id = #{alarmtypeId} diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmModuleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmModuleMapper.xml index 3e4292d..4d4d8b5 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmModuleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmModuleMapper.xml @@ -60,7 +60,7 @@ and t1.AlarmModule_Id = #{alarmmoduleId} - and t1.AlarmModule_Text = #{alarmmoduleText} + and t1.AlarmModule_Text like concat('%', #{alarmmoduleText}, '%') and t1.MonitorUnit_Id = #{monitorunitId} and t1.AlarmType_Id = #{alarmTypeId} and t1.Enable_Flag = #{enableFlag} diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmTypeMapper.xml index 3c89301..3549f70 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BaseAlarmTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BaseAlarmTypeMapper.xml @@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseStationInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseStationInfoMapper.xml index 54ca90c..e96af18 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BaseStationInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BaseStationInfoMapper.xml @@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - and Param_Type = #{paramType} - and Param_Title = #{paramTitle} - and Param_Text = #{paramText} + and Param_Type like concat('%', #{paramType}, '%') + and Param_Title like concat('%', #{paramTitle}, '%') + and Param_Text like concat('%', #{paramText}, '%') and Enable_Flag = #{enableFlag} and Visible_Flag = #{visibleFlag}