1.将请求alarm/getAlarmById 改成直接请求数据库
2.将broadcast报警的参数由alarm.getId()改为alarm.getAlarmId()