	protected long toOffset(Map<String, Object> paraMap, int size) {
		Object value = paraMap.get(pageName);
		Long page = ObjectUtils.toLong(value);
		if (page == null) {
			return 0;
		}
		return Math.max(page - getStart(), 0) * size;
	}