whycxzp
2025-06-11 639d62cb082962f0969b986569ec25bf3005a318
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>