/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.webcore.util;

import com.codvision.webcore.bean.QueryPage;

import java.util.HashMap;
import java.util.Map;

/**
 * @author hxl
 */
public class QueryPageUtil {

    public static Map<String, Object> queryMap(QueryPage<Map<String, Object>> queryPage) {
       return queryPage.getCondition() == null ? new HashMap<>(16) : queryPage.getCondition();
    }
}
