package com.huigou.bpm.management.mapper;

import com.huigou.bpm.management.domain.query.ProcessDefinitionQueryRequest;
import com.topsunit.query.annotations.Dictionary;
import com.topsunit.query.annotations.Mapper;
import org.springframework.data.domain.Page;

/**
 * @author yonghuan
 * @since 1.1.3
 */
@Mapper
public interface ProcessDefinitionMapper {

    /**
     * 分页查询流程定义
     *
     * @param queryRequest 查询条件
     * @return 流程定义
     */
    @Dictionary("chartKindId")
    Page<?> sliceQuery(ProcessDefinitionQueryRequest queryRequest);

}
