public List<NewsInfoDto> getNewsInfoDtos(int id,
			int maxShowPageNum) {

		PreparedStatement stmt = null;
		ResultSet rs = null;
		List<NewsInfoDto> newsInfoDtos = null;
		try {

			stmt = conn
					.prepareStatement("select id,title,creatTime from NewsInfo where id >= ? limit ?");

			stmt.setInt(1, id);
			stmt.setInt(2, maxShowPageNum);

			rs = stmt.executeQuery();

			String title = "";
			Date date=null;
			int newsId = 0;

			newsInfoDtos = new ArrayList<NewsInfoDto>();
			
			while (rs.next()) {

				newsId = rs.getInt(1);
				title = rs.getString(2);
				date = rs.getDate(3);

				NewsInfoDto newsInfoDto = new NewsInfoDto();
				newsInfoDto.setId(newsId);
				newsInfoDto.setCreateTime(date);
				newsInfoDto.setTitle(title);

				newsInfoDtos.add(newsInfoDto);

			}

			if (stmt != null)
				stmt.close();
			if (rs != null)
				rs.close();

		} catch (Exception e) {
			// TODO: handle exception
			
			logger.debug(e.getMessage());
		}
		
		return newsInfoDtos;
	}