package com.huigou.bpm.management.mapper;

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

import java.util.Map;

/**
 * @author yonghuan
 */
@Mapper(xml = "config/bpm/query/procInstMapper.xml")
public interface ProcInstMapper {

    @Dictionary(field = "status", value = "procInstStatus")
    Page<Map<String, Object>> sliceQuery(ProcInstQueryRequest queryRequest);

}
