@Inject
private AlertSummaryDao m_alertSummaryDao;
public void insert(com.dianping.cat.home.alert.summary.entity.AlertSummary alertSummary) {
AlertSummary summary = new AlertSummary();
String content = alertSummary.toString();
summary.setDomain(alertSummary.getDomain());
summary.setAlertTime(alertSummary.getAlertDate());
summary.setContent(content);
try {
m_alertSummaryDao.insert(summary);
} catch (DalException e) {
Cat.logError("insert alert summary error: " + content, e);