@Service public class ProcessDefinitionServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<OaProcessDefinitionMapper,OaProcessDefinition> implements ProcessDefinitionService, xyz.erupt.annotation.fun.DataProxy<OaProcessDefinition>
| 构造器和说明 |
|---|
ProcessDefinitionServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterFetch(Collection<Map<String,Object>> list) |
void |
beforeDelete(OaProcessDefinition oaProcessDefinition) |
void |
deploy(OaForms forms)
部署新版本
|
List<OaFormGroups> |
getFormGroups(OaFormGroups build)
分组查询
|
OaProcessDefinition |
getLastVersionByFromId(Long formId)
根据formId查询最新版
|
List<OaProcessActivityHistory> |
preview(Long instId)
查看流程实例的时间线
|
List<OaProcessActivityHistory> |
preview(String formDefId,
com.alibaba.fastjson.JSONObject formContent)
预览
|
OaProcessNode |
readNode(String processDefId,
String nodeId)
读取节点
|
void |
removeByFormId(Long formId)
根据formId删除流程定义
|
OaProcessInstance |
startById(String defId,
String content)
根据formId启动流程,会启动最新版流程
|
void |
updateByFormId(OaProcessDefinition update,
Long formId) |
void |
updateStopByFormId(Long formId,
boolean isStop)
根据formId修改是否禁止
|
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, updateBatchById, updateByIdpublic void beforeDelete(OaProcessDefinition oaProcessDefinition)
beforeDelete 在接口中 xyz.erupt.annotation.fun.DataProxy<OaProcessDefinition>public void afterFetch(Collection<Map<String,Object>> list)
afterFetch 在接口中 xyz.erupt.annotation.fun.DataProxy<OaProcessDefinition>public void updateStopByFormId(Long formId, boolean isStop)
ProcessDefinitionServiceupdateStopByFormId 在接口中 ProcessDefinitionServicepublic void updateByFormId(OaProcessDefinition update, Long formId)
updateByFormId 在接口中 ProcessDefinitionServicepublic void removeByFormId(Long formId)
ProcessDefinitionServiceremoveByFormId 在接口中 ProcessDefinitionService@Transactional(rollbackFor=java.lang.Exception.class) public OaProcessInstance startById(String defId, String content)
ProcessDefinitionServicestartById 在接口中 ProcessDefinitionServicepublic OaProcessDefinition getLastVersionByFromId(Long formId)
ProcessDefinitionServicegetLastVersionByFromId 在接口中 ProcessDefinitionServicepublic List<OaProcessActivityHistory> preview(String formDefId, com.alibaba.fastjson.JSONObject formContent)
ProcessDefinitionServicepreview 在接口中 ProcessDefinitionServicepublic List<OaProcessActivityHistory> preview(Long instId)
ProcessDefinitionServicepreview 在接口中 ProcessDefinitionServicepublic List<OaFormGroups> getFormGroups(OaFormGroups build)
ProcessDefinitionServicegetFormGroups 在接口中 ProcessDefinitionServicepublic void deploy(OaForms forms)
ProcessDefinitionServicedeploy 在接口中 ProcessDefinitionServicepublic OaProcessNode readNode(String processDefId, String nodeId)
ProcessDefinitionServicereadNode 在接口中 ProcessDefinitionServiceCopyright © 2023. All rights reserved.