提交 7815a6b7 编写于 作者: Z zhourui

record thread

上级 665f6c25
......@@ -330,13 +330,20 @@ class ActionProcessing extends BaseAction {
record.getProperties().setMediaOpinion(taskCompleted.getMediaOpinion());
}
}
WoId resp = ThisApplication.context().applications()
.postQuery(effectivePerson.getDebugger(), x_processplatform_service_processing.class,
Applications.joinQueryUri("record", "job", this.work.getJob()), record, this.task.getJob())
.getData(WoId.class);
if (StringUtils.isBlank(resp.getId())) {
throw new ExceptionWorkProcessing(this.work.getId());
}
new Thread(() -> {
try {
WoId resp = ThisApplication.context().applications()
.postQuery(effectivePerson.getDebugger(), x_processplatform_service_processing.class,
Applications.joinQueryUri("record", "job", this.work.getJob()), record,
this.task.getJob())
.getData(WoId.class);
if (StringUtils.isBlank(resp.getId())) {
throw new ExceptionWorkProcessing(this.work.getId());
}
} catch (Exception e) {
logger.error(e);
}
}, String.format("%record:%s", ActionProcessing.class.getName(), this.task.getId())).start();
}
private void processingUpdateTaskCompleted() throws Exception {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册