@Service public class ProcessActivityServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<OaProcessActivityMapper,OaProcessActivity> implements ProcessActivityService, xyz.erupt.annotation.fun.DataProxy<OaProcessActivity>
| 构造器和说明 |
|---|
ProcessActivityServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 instId,
String reason) |
boolean |
updateById(OaProcessActivity entity) |
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, 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, updateBatchByIdgetListenerMap@Transactional(rollbackFor=java.lang.Exception.class) public int newActivitiesForExecution(OaProcessExecution execution)
@Transactional(rollbackFor=java.lang.Exception.class) public int newActivities(OaProcessExecution execution, com.alibaba.fastjson.JSONObject formContent, OaProcessNode node)
newActivities 在接口中 ProcessActivityService@Transactional(rollbackFor=java.lang.Exception.class) public int newActivities(OaProcessExecution execution, com.alibaba.fastjson.JSONObject formContent, OaProcessNode node, String status)
ProcessActivityServicenewActivities 在接口中 ProcessActivityService@Transactional(rollbackFor=java.lang.Exception.class) public void removeByProcessInstId(Long procInstId)
removeByProcessInstId 在接口中 ProcessActivityService@Transactional(rollbackFor=java.lang.Exception.class) public boolean activeByExecutionId(Long executionId)
activeByExecutionId 在接口中 ProcessActivityServicepublic void stopByExecutionId(Long executionId, String reason)
ProcessActivityServicestopByExecutionId 在接口中 ProcessActivityServicepublic void stopByInstId(Long instId, String reason)
stopByInstId 在接口中 ProcessActivityServicepublic void complete(Long activityId)
complete 在接口中 ProcessActivityServiceactivityId - public OaProcessActivity getByExecutionId(Long executionId)
ProcessActivityServicegetByExecutionId 在接口中 ProcessActivityServicepublic OaProcessActivity newActivity(OaProcessExecution execution, OaProcessNode node, String status, OaProcessNodeProps props, int sort)
newActivity 在接口中 ProcessActivityServiceexecution - node - status - @Transactional(rollbackFor=java.lang.Exception.class) public boolean updateById(OaProcessActivity entity)
updateById 在接口中 com.baomidou.mybatisplus.extension.service.IService<OaProcessActivity>Copyright © 2023. All rights reserved.