package com.wflow.workflow.service; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.wflow.workflow.bean.vo.*; import org.flowable.task.api.Task; import java.util.List; /** * @author : willian fu * @date : 2022/8/22 */ public interface ProcessInstanceService { String startProcess(String defId, ProcessStartParamsVo params); String getBeforeTask(String instanceId, String task); void delProcessInstance(String instanceId); ProcessProgressVo getInstanceProgress(String nodeId, String instanceId); List getProcessInstanceTaskList(String instanceId); Page getUserSubmittedList(Integer pageSize, Integer pageNo, String startUser, String code, Boolean finished, String[] startTimes, String keyword, String fieldId, String fieldVal, String key, Integer customStatus); Page getCcMeInstance(Integer pageSize, Integer pageNo, String code, String[] startTimes, String startUser, Boolean finished, String key); InstanceCountVo getProcessInstanceCount(); }