Feign客户端API

流程实例模块

流程实例ID获取实例详情

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/getBpmInstanceUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#getById

描述
流程实例明细页面

处理实例类型的动作

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/doActionUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#doAction

描述
流程启动,流程保存草稿,草稿启动,催办,人工终止等流程实例相关的动作请求入口

批量处理实例类型的动作

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/doActionsUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#doActions

描述
批量流程启动,流程保存草稿,草稿启动,催办,人工终止等流程实例相关的动作请求入口

流程实例禁用启用

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/toForbiddenUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#toForbidden

描述
流程实例禁用启用接口

流程实例删除

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/deleteUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#delete

描述
流程实例批量删除 实例id以逗号分隔,删除流程实例会删除相关的所有任务数据,也会级联删除业务数据

获取流程意见

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/getOpinionUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#getOpinion

描述
通过流程实例ID/任务ID,获取该流程实例下所有的审批意见,并按处理时间排序

通过业务主键关联流程实例信息

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/getInstanceListByBizIdsUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#getInstanceListByBizIds

描述
通过业务主键关联流程实例信息,返回流程实例。当前任务名,当前任务候选人信息

获取流程实例数据

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-instance-controller/getInstanceDataUsingPOST

com.dstz.bpm.rest.controller.BpmInstanceController#getInstanceData

描述
获取流程实例相关数据,包含实例信息,业务数据,表单权限、表单数据、表单内容等

流程任务模块

流程任务明细

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/getBpmTaskUsingPOST

com.dstz.bpm.rest.controller.BpmTaskController#getBpmTask

描述
获取流程任务信息

任务指派

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/assignTaskUsingPOST

com.dstz.bpm.rest.controller.BpmTaskController#assignTask

描述
管理员将任务指派给某一个用户处理

取消任务指派

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/unLockUsingPOST

com.dstz.bpm.rest.controller.BpmTaskController#unLock

描述
管理员将任务取消指派,若任务原先无候选人,则无法取消指派。

执行任务相关动作

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/doActionUsingPOST_1

com.dstz.bpm.rest.controller.BpmTaskController#doAction

描述
执行任务相关的动作 如:同意,驳回,反对,锁定,解锁,转办,会签任务等相关操作

批量处理任务类型的动作

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/doActionsUsingPOST_1

com.dstz.bpm.rest.controller.BpmTaskController#doActions

描述
批量执行任务相关的动作 如:同意,驳回,反对,锁定,解锁,转办,会签任务等相关操作

获取流程变量

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/getVariablesUsingPOST

com.dstz.bpm.rest.controller.BpmTaskController#getVariables

描述
通过任务id获取流程变量

流程任务列表

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/listJsonUsingPOST_1

com.dstz.bpm.rest.controller.BpmTaskController#listJson

描述
获取流程任务的列表数据,用于管理员管理任务,入参“filter”为数据库过滤字段名,支持对title_,name_等任务字段过滤,“V”一位代表字段类型,“EQ/IN/LK/..”代表查询类型“等于/in/小于/..”

获取流程任务相关数据

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-task-controller/getTaskDataUsingPOST

com.dstz.bpm.rest.controller.BpmTaskController#getTaskData

描述
获取任务的业务数据、表单、按钮、权限等信息,为了渲染展示任务页面

流程定义模块

流程定义列表

com.dstz.bpm.rest.controller.BpmDefinitionController#listJson

描述
流程定义列表(分页条件查询)数据

获取流程定义

com.dstz.bpm.rest.controller.BpmDefinitionController#get

描述
根据id获取流程定义数据

流程定义保存

com.dstz.bpm.rest.controller.BpmDefinitionController#save

描述
保存流程定义

获取所有用户任务节点

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-definition-controller/getAllUserTaskNodeUsingPOST

com.dstz.bpm.rest.controller.BpmDefinitionController#getAllUserTaskNode

描述
获取流程所有用户任务节点

个人办公服务模块

待办任务列表

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-my-task-controller/todoTaskListUsingPOST

com.dstz.bpm.rest.controller.BpmMyTaskController#todoTaskList

描述
根据当前用户获取个人所有待办,支持对subject_,name_等Task字段过滤,“filter”为数据库过滤字段名,“V”一位代表字段类型,“EQ/IN/LK/..”代表查询类型“等于/in/小于/..”

已发起的流程申请列表

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-my-task-controller/applyTaskListUsingPOST

com.dstz.bpm.rest.controller.BpmMyTaskController#applyTaskList

描述
获取我发起过的流程申请,可以查看自己发起的流程执行情况,可查阅自己发起过的所有流程审批

获取历史审批过的流程任务

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-my-task-controller/approveListUsingPOST

com.dstz.bpm.rest.controller.BpmMyTaskController#approveList

描述
获取历史审批过的流程任务 。会展示所有自己办理过的流程、若是候选人未办理则不会展示。 其他过滤参数:“filter”为数据库过滤字段名,“V”一位代表字段类型,“EQ/IN/LK/..”代表查询类型“等于/in/小于/..”

发起申请-流程列表

Swagger 接口地址:http://localhost:8080/swagger-ui.html#!/bpm-my-task-controller/definitionListUsingPOST

com.dstz.bpm.rest.controller.BpmMyTaskController#definitionList

描述
获取自己拥有发起权限的流程列表,用于流程发起。其他过滤参数,“filter”为数据库过滤字段名,“V”一位代表字段类型,“EQ/IN/LK/..”代表查询类型“等于/in/小于/..”

系统资源授权模块

保存资源授权

com.dstz.security.rest.controller.ResRoleController#save

描述
保存角色资源分配信息

获取已授权资源树数据

com.dstz.security.rest.controller.ResRoleController#getTreeData

描述
获取已授权资源树数据

BPM数据字典模块

获取字典数据

com.dstz.sys.rest.controller.DataDictController#getByDictKey

描述
获取字典数据

系统资源模块

获取系统资源树

/org/sysResource/getTreeData

描述
获取系统资源树

获取系统树节点

/sys/sysTreeNode/getNodes

描述
获取系统树节点