public interface ProcessActivityService extends com.baomidou.mybatisplus.extension.service.IService<OaProcessActivity>, WithListener
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
activeByExecutionId(Long executionId) |
void |
complete(Long activityId)
完成节点
|
OaProcessActivity |
getByExecutionId(Long executionId)
查询当前线程的节点
|
int |
newActivities(OaProcessExecution execution,
com.alibaba.fastjson.JSONObject formContent,
OaProcessNode node) |
int |
newActivities(OaProcessExecution execution,
com.alibaba.fastjson.JSONObject formContent,
OaProcessNode node,
String status)
针对当前node创建节点
如果当前节点不是用户任务,将会继续向前,直到下一个(或多个)用户任务
然后将这些用户任务解析为节点,同时生成任务
|
int |
newActivitiesForExecution(OaProcessExecution execution) |
OaProcessActivity |
newActivity(OaProcessExecution execution,
OaProcessNode node,
String status,
OaProcessNodeProps props,
int sort) |
void |
removeByProcessInstId(Long procInstId) |
void |
stopByExecutionId(Long executionId,
String reason)
中断所有线程
|
void |
stopByInstId(Long processInstId,
String reason) |
count, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdgetListenerMapint newActivitiesForExecution(OaProcessExecution execution)
int newActivities(OaProcessExecution execution, com.alibaba.fastjson.JSONObject formContent, OaProcessNode node, String status)
execution - node - int newActivities(OaProcessExecution execution, com.alibaba.fastjson.JSONObject formContent, OaProcessNode node)
OaProcessActivity newActivity(OaProcessExecution execution, OaProcessNode node, String status, OaProcessNodeProps props, int sort)
void removeByProcessInstId(Long procInstId)
boolean activeByExecutionId(Long executionId)
void complete(Long activityId)
activityId - OaProcessActivity getByExecutionId(Long executionId)
executionId - void stopByExecutionId(Long executionId, String reason)
executionId - reason - Copyright © 2023. All rights reserved.