|
|
|
@ -133,7 +133,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
* @param downloadTask 下载任务
|
|
|
|
|
*/
|
|
|
|
|
private void report(DownloadTask downloadTask) {
|
|
|
|
|
threadPoolExecutor.execute(() -> {
|
|
|
|
|
if (downloadTask.getBasicDataType().equals(0)) {
|
|
|
|
|
ReportDownDto reportDownDto = fileReportConverter.convertDownloadPlatformParam(downloadTask);
|
|
|
|
|
try {
|
|
|
|
@ -147,7 +146,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
log.error("文件上报下载服务出错啦!数据为:" + Func.toJson(reportDownDto), ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -157,7 +155,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
* @param downloadTask 下载任务
|
|
|
|
|
*/
|
|
|
|
|
private void reportSeal(DownloadTask downloadTask) {
|
|
|
|
|
threadPoolExecutor.execute(() -> {
|
|
|
|
|
if (downloadTask.getBasicDataType().equals(2)) {
|
|
|
|
|
ReportDownDto reportDownDto = fileReportConverter.convertDownloadPlatformParam(downloadTask);
|
|
|
|
|
String paramJson = Func.toJson(reportDownDto);
|
|
|
|
@ -169,6 +166,5 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
log.error("封存病案上报文件发生未知错误,参数:" + paramJson, ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|