// 获取正在操作的任务命令对象实例
TaskCommandInst taskCommand = getTaskCommandInst();
if (taskInstance.hasEnded()) {
throw new FixFlowBizException("当前的任务已经结束,无法继续处理!");
}
TaskManager taskManager=commandContext.getTaskManager();
TaskInstance taskInstanceQueryRollBack = taskManager.findTaskById(rollBackTaskId);