Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
7b731277
Commit
7b731277
authored
Oct 30, 2025
by
R10
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取单据结果修改
parent
8c04b634
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
DataAuditService.java
...va/cn/com/poc/ai_data_audit/service/DataAuditService.java
+1
-1
DataAuditServiceImpl.java
.../poc/ai_data_audit/service/impl/DataAuditServiceImpl.java
+3
-1
No files found.
src/main/java/cn/com/poc/ai_data_audit/service/DataAuditService.java
View file @
7b731277
...
@@ -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
Ex
ecutionException
,
InterruptedEx
ception
;
public
List
fileUploadAndProcessing
(
List
<
FileUploadDto
>
fileUploadDtoList
)
throws
Exception
;
DataAuditResult
call
(
DataAuditCallDto
dataAuditCallDto
)
throws
Exception
;
DataAuditResult
call
(
DataAuditCallDto
dataAuditCallDto
)
throws
Exception
;
...
...
src/main/java/cn/com/poc/ai_data_audit/service/impl/DataAuditServiceImpl.java
View file @
7b731277
...
@@ -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
Ex
ecutionException
,
InterruptedEx
ception
{
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"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment