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

package com.codvision.workflow.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codvision.workflow.entity.WorkFlowDefinition;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author hxl
 */
public interface WorkFlowDefinitionMapper {

    /**
     * 分页通用查询
     * @param page 分页对象
     * @param paraMap 查询条件
     * @return 列表
     */
    IPage<WorkFlowDefinition> getPageResult(IPage<Map<String, Object>> page, @Param("query") Map<String, Object> paraMap);
}
