Commit 7b731277 authored by R10's avatar R10

获取单据结果修改

parent 8c04b634
...@@ -11,7 +11,7 @@ import java.util.concurrent.ExecutionException; ...@@ -11,7 +11,7 @@ import java.util.concurrent.ExecutionException;
public interface DataAuditService extends BaseService { public interface DataAuditService extends BaseService {
public List fileUploadAndProcessing(List<FileUploadDto> fileUploadDtoList) throws ExecutionException, InterruptedException; public List fileUploadAndProcessing(List<FileUploadDto> fileUploadDtoList) throws Exception;
DataAuditResult call(DataAuditCallDto dataAuditCallDto) throws Exception; DataAuditResult call(DataAuditCallDto dataAuditCallDto) throws Exception;
......
...@@ -65,7 +65,7 @@ public class DataAuditServiceImpl extends BaseServiceImpl ...@@ -65,7 +65,7 @@ public class DataAuditServiceImpl extends BaseServiceImpl
final private ThreadPoolExecutor executor = new ThreadPoolExecutor(16, 64, 10, TimeUnit.SECONDS, new LinkedBlockingDeque<>(100)); final private ThreadPoolExecutor executor = new ThreadPoolExecutor(16, 64, 10, TimeUnit.SECONDS, new LinkedBlockingDeque<>(100));
@Override @Override
public List fileUploadAndProcessing(List<FileUploadDto> fileUploadDtoList) throws ExecutionException, InterruptedException { public List fileUploadAndProcessing(List<FileUploadDto> fileUploadDtoList) throws Exception {
fileUploadDtoList.stream().collect(Collectors.groupingBy(item -> item.getFileName())); fileUploadDtoList.stream().collect(Collectors.groupingBy(item -> item.getFileName()));
// 获取单个文件的文件名 // 获取单个文件的文件名
...@@ -135,6 +135,8 @@ public class DataAuditServiceImpl extends BaseServiceImpl ...@@ -135,6 +135,8 @@ public class DataAuditServiceImpl extends BaseServiceImpl
fileUploadExtensionDto.setOrginalTemplateName("Work Permit Extension Details"); fileUploadExtensionDto.setOrginalTemplateName("Work Permit Extension Details");
fileUploadExtensionDto.setUploadFileName(""); fileUploadExtensionDto.setUploadFileName("");
fileUploadReturnDtoList.add(fileUploadExtensionDto); fileUploadReturnDtoList.add(fileUploadExtensionDto);
}else{
throw new Exception("please upload the Form.pdf");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment