| | |
| | | |
| | | List getDevAlarmHistory(List deviceIds); |
| | | |
| | | int getCountForInterface(InterfaceParam param); |
| | | //int getCountForInterface(InterfaceParam param); |
| | | |
| | | //List getListForInterface(InterfaceParam param); |
| | | |
| | |
| | | </where> |
| | | ORDER BY alm_start_time desc ,dev_name asc |
| | | </select> |
| | | <select id="getCountForInterface" resultType="integer"> |
| | | <!--<select id="getCountForInterface" resultType="integer"> |
| | | SELECT |
| | | count(*) |
| | | FROM db_alarm.${recordYear} history,db_battinf.tb_battinf |
| | |
| | | and alm_start_time<=#{endTime} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </select>--> |
| | | <!-- <select id="getListForInterface" resultMap="devAlarmRes"> |
| | | SELECT |
| | | history.num,dev_id,dev_ip,alm_type,alm_level,alm_start_time,alm_end_time,alm_is_confirmed,alm_confirmed_time,alm_cleared_type, |