@Override public int getCount(String dateTime) throws SQLException { ClientEventLogExample example = new ClientEventLogExample(); example .createCriteria() .andVersionEqualTo("2") .andDataTimeEqualTo(dateTime) .andEventIdEqualTo("2101") .andClientVersionIn(commonService.getStatisticsVersion()); return clientEventLogDAO.countByExample(example); }
@Override public List<ClientEventLog> getEventList(String dateTime, int start, int length) throws SQLException { ClientEventLogExample example = new ClientEventLogExample(); example .createCriteria() .andVersionEqualTo("2") .andDataTimeEqualTo(dateTime) .andEventIdEqualTo("2101") .andClientVersionIn(commonService.getStatisticsVersion()); return clientEventLogDAO.selectByExampleWithBLOBs(example, start, length); }