whycxzp
2025-02-28 78bdbf03741d03e047d034a1418a240e10b75c9f
src/main/resources/mapper/PwrdevAlarmMapper.xml
@@ -413,7 +413,7 @@
        </foreach>
    </select>
    <select id="getLevelListByUserId" resultType="com.whyc.pojo.PwrdevAlarm">
        select alm_level from db_pwrdev_alarm.tb_pwrdev_alarm alarm,db_pwrdev_inf.tb_pwrdev_inf inf
        select alm_level,StationName5 as stationName5 from db_pwrdev_alarm.tb_pwrdev_alarm alarm,db_pwrdev_inf.tb_pwrdev_inf inf
        where alarm.PowerDeviceId = inf.PowerDeviceId
        and inf.StationId in ( select distinct inf.StationId from
        (select StationId from db_battinf.tb_battinf union select StationId from db_pwrdev_inf.tb_pwrdev_inf ) inf,