package com.huigou.bpm.management.mapper;

import com.huigou.bpm.management.domain.query.ProcessDeploymentQueryRequest;
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 ProcessDeploymentMapper {

    /**
     * 分页查询流程定义发布信息
     *
     * @param queryRequest 查询条件
     * @return 流程定义发布信息
     */
    @Dictionary("chartKindId")
    @Dictionary(field = "status", value = "yesOrNo")
    Page<?> sliceQuery(ProcessDeploymentQueryRequest queryRequest);

}
