流程定义列表
This commit is contained in:
parent
bc1e15fff0
commit
cbc94ae552
@ -56,5 +56,8 @@ public interface BpmProcessInstanceService {
|
||||
*/
|
||||
BpmProcessInstanceVO getProcessInstanceVO(String id, String tenantId);
|
||||
|
||||
/**
|
||||
* 撤销流程实例
|
||||
* */
|
||||
Boolean withdrawProcessInstance(BpmProcessInstanceWithdrawDTO withdrawDTO);
|
||||
}
|
||||
|
||||
@ -11,8 +11,5 @@ public class BpmProcessDefinitionPageDTO extends BpmPageParam {
|
||||
private String key;
|
||||
|
||||
@ApiModelProperty(value = "租户Id", example = "1")
|
||||
private Long tenantId;
|
||||
|
||||
@ApiModelProperty(value = "中断状态", example = "1", notes = "参见 SuspensionState 枚举")
|
||||
private Integer suspensionState;
|
||||
private String tenantId;
|
||||
}
|
||||
|
||||
@ -101,7 +101,9 @@ public class BpmProcessDefinitionServiceImpl implements BpmProcessDefinitionServ
|
||||
if (StrUtil.isNotBlank(request.getKey())) {
|
||||
definitionQuery.processDefinitionKey(request.getKey());
|
||||
}
|
||||
|
||||
if (StrUtil.isNotBlank(request.getTenantId())){
|
||||
definitionQuery.processDefinitionTenantId(request.getTenantId());
|
||||
}
|
||||
// 执行查询
|
||||
List<ProcessDefinition> processDefinitions = definitionQuery.orderByProcessDefinitionVersion()
|
||||
.desc()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user