private List<Ticket> createTickets(RowSet resultSet) throws SQLException {

		List<Ticket> result = new ArrayList<Ticket>();
		while (resultSet.next()) {

			Ticket ticket = EntityCreator.create(
					StationEnum.valueOf(resultSet.getInt("ToStation")),
					resultSet.getInt("CarriageNumber"),
					resultSet.getInt("SeatNumber"),
					resultSet.getString("IDCard"), 
					resultSet.getString("TicketType"), true); // 新建一个ticket的
			result.add(ticket);
		}
		return result;
	}