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

package com.codvision.workflow.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.codvision.workflow.entity.WorkFlowButton;
import org.apache.ibatis.annotations.Param;

/**
 * @author hxl
 */
public interface WorkFlowButtonMapper extends BaseMapper<WorkFlowButton> {


    /**
     * 分页通用查询
     * @param page 分页对象
     * @param queryWrapper 条件构造器
     * @return 数据列表
     */
    IPage<WorkFlowButton> getPageResult(IPage<WorkFlowButton> page, @Param(Constants.WRAPPER) Wrapper<WorkFlowButton> queryWrapper);
}
