|
|
@ -96,8 +96,6 @@ public class TaskExecuteProcessor implements NettyRequestProcessor { |
|
|
|
* @param taskExecutionContext task |
|
|
|
* @param taskExecutionContext task |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void setTaskCache(TaskExecutionContext taskExecutionContext) { |
|
|
|
private void setTaskCache(TaskExecutionContext taskExecutionContext) { |
|
|
|
TaskExecutionContext preTaskCache = new TaskExecutionContext(); |
|
|
|
|
|
|
|
preTaskCache.setTaskInstanceId(taskExecutionContext.getTaskInstanceId()); |
|
|
|
|
|
|
|
TaskRequest taskRequest = JSONUtils.parseObject(JSONUtils.toJsonString(taskExecutionContext), TaskRequest.class); |
|
|
|
TaskRequest taskRequest = JSONUtils.parseObject(JSONUtils.toJsonString(taskExecutionContext), TaskRequest.class); |
|
|
|
TaskExecutionContextCacheManager.cacheTaskExecutionContext(taskRequest); |
|
|
|
TaskExecutionContextCacheManager.cacheTaskExecutionContext(taskRequest); |
|
|
|
} |
|
|
|
} |
|
|
|