|
@@ -513,7 +513,6 @@ public class PatentExportService {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- this.sendWebSocketMessage(projectId, taskId, createId, total.intValue(), index, true);
|
|
|
|
|
|
|
|
try (ByteArrayOutputStream out = new ByteArrayOutputStream()) {
|
|
try (ByteArrayOutputStream out = new ByteArrayOutputStream()) {
|
|
|
|
|
|
@@ -527,6 +526,7 @@ public class PatentExportService {
|
|
exportTask.setState(2);
|
|
exportTask.setState(2);
|
|
exportTask.setDoneNum(index);
|
|
exportTask.setDoneNum(index);
|
|
Integer reTaskId = importTaskService.updateExportTask(exportTask);
|
|
Integer reTaskId = importTaskService.updateExportTask(exportTask);
|
|
|
|
+ this.sendWebSocketMessage(projectId, taskId, createId, total.intValue(), index, true);
|
|
if (reTaskId == null) {
|
|
if (reTaskId == null) {
|
|
throw new XiaoShiException("导出记录失败");
|
|
throw new XiaoShiException("导出记录失败");
|
|
}
|
|
}
|