| | |
| | | |
| | | </where> |
| | | </select> |
| | | <select id="getListGreatThan" resultType="com.whyc.pojo.web_site.AlarmInspection"> |
| | | select bd.mon_num,bd.alm_signal_id as alm_id,bd.alm_id as alm_id_origin,bd.alm_level,bd.alm_start_time, |
| | | bd.num as alm_num,bi.battgroup_id,bi.battgroup_name,bi.dev_id,bi.dev_name,si.station_id,si.station_name from db_alarm.tb_battalarm_data bd,db_station.tb_batt_inf bi,db_station.tb_station_inf si |
| | | where bd.battgroup_id=bi.battgroup_id |
| | | and bi.station_id=si.station_id |
| | | and bd.num>#{id} |
| | | </select> |
| | | </mapper> |