From 639d62cb082962f0969b986569ec25bf3005a318 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 11 六月 2025 20:10:36 +0800 Subject: [PATCH] 故障工单和巡检备忘录 --- 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