36 lines
1.2 KiB
Java
36 lines
1.2 KiB
Java
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<Task> getProcessInstanceTaskList(String instanceId);
|
|
|
|
Page<ProcessInstanceVo> getUserSubmittedList(Integer pageSize, Integer pageNo, String startUser, String code,
|
|
Boolean finished, String[] startTimes, String keyword,
|
|
String fieldId, String fieldVal, String key, Integer customStatus);
|
|
|
|
Page<ProcessInstanceVo> getCcMeInstance(Integer pageSize, Integer pageNo, String code, String[] startTimes,
|
|
String startUser, Boolean finished, String key);
|
|
|
|
InstanceCountVo getProcessInstanceCount();
|
|
|
|
void readCCme(String instanceId, String nodeId);
|
|
}
|