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
68a8b931
Commit
68a8b931
authored
Sep 01, 2025
by
R10
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取单据结果修改
parent
485d9f23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ExtractionReviewScheduler.java
...com/poc/covenant/scheduler/ExtractionReviewScheduler.java
+5
-2
No files found.
src/main/java/cn/com/poc/covenant/scheduler/ExtractionReviewScheduler.java
View file @
68a8b931
...
...
@@ -138,7 +138,7 @@ public class ExtractionReviewScheduler {
if
(
fileFetchResponse
==
null
)
{
model
.
setReviewStatus
(
"RUN"
);
}
else
if
(
fileFetchResponse
.
getCode
()
==
200L
)
{
if
(
fileFetchResponse
.
getResult
()
!=
null
)
{
if
(
fileFetchResponse
.
getResult
()
!=
null
&&
fileFetchResponse
.
getResult
().
getFiles
().
get
(
0
).
getRecognitionStatus
()
==
1
)
{
model
.
setReviewStatus
(
"END"
);
model
.
setReviewErrorMsg
(
fileFetchResponse
.
getMessage
());
BizExtractionDocFlowEntity
bizExtractionDocFlowEntity
=
new
BizExtractionDocFlowEntity
();
...
...
@@ -149,8 +149,11 @@ public class ExtractionReviewScheduler {
bizExtractionDocFlowEntity
.
setBizDocFlowHandwritings
(
JsonUtils
.
serialize
(
fileFetchResponse
.
getResult
().
getFiles
().
get
(
0
).
getData
().
getHandwritings
()));
bizExtractionDocFlowEntity
.
setBizDocFlowItems
(
JsonUtils
.
serialize
(
fileFetchResponse
.
getResult
().
getFiles
().
get
(
0
).
getData
().
getItems
()));
bizExtractionDocFlowService
.
save
(
bizExtractionDocFlowEntity
);
}
else
{
model
.
setReviewStatus
(
"RUN"
);
}
}
else
{
}
else
{
model
.
setReviewStatus
(
"ERROR"
);
model
.
setReviewErrorMsg
(
fileFetchResponse
.
getMessage
());
}
...
...
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