From 92d79e47bfdae4a29c3e40af0b3e0e5ab8a47511 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 12 六月 2025 09:59:00 +0800 Subject: [PATCH] Merge branch 'master' of http://118.89.139.230:10101/r/powerIntelligenceSystem --- src/main/resources/mapper/AlarmInspectionMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/AlarmInspectionMapper.xml b/src/main/resources/mapper/AlarmInspectionMapper.xml index 55790d4..dbba3f1 100644 --- a/src/main/resources/mapper/AlarmInspectionMapper.xml +++ b/src/main/resources/mapper/AlarmInspectionMapper.xml @@ -68,5 +68,11 @@ and ai.station_id = bgp.station_id and bg.baoji_group_id = bgp.baoji_group_id and ai.station_id = #{stationId} + <if test="inspectionType == 1"> + and ai.alm_level = 1 + </if> + <if test="inspectionType == 2"> + and ai.alm_level != 1 + </if> </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1