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
80039a42
Commit
80039a42
authored
Sep 01, 2025
by
R10
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据识别保存
parent
94b6a1c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
BizExtractionDocFlowRest.java
...va/cn/com/poc/covenant/rest/BizExtractionDocFlowRest.java
+18
-0
BizExtractionDocFlowRestImpl.java
.../poc/covenant/rest/impl/BizExtractionDocFlowRestImpl.java
+10
-1
No files found.
src/main/java/cn/com/poc/covenant/rest/BizExtractionDocFlowRest.java
View file @
80039a42
...
...
@@ -3,8 +3,10 @@ package cn.com.poc.covenant.rest;
import
cn.com.yict.framemax.core.rest.BaseRest
;
import
cn.com.poc.covenant.dto.BizExtractionDocFlowDto
;
import
cn.com.yict.framemax.data.model.PagingInfo
;
import
java.util.Collection
;
import
java.util.List
;
import
cn.com.yict.framemax.web.permission.Access
;
import
cn.com.yict.framemax.web.permission.Permission
;
import
org.springframework.security.access.prepost.PreAuthorize
;
...
...
@@ -22,4 +24,20 @@ public interface BizExtractionDocFlowRest extends BaseRest {
* @throws Exception 当获取过程中发生异常时抛出
*/
BizExtractionDocFlowDto
getByTaskInId
(
@RequestParam
String
taskInId
)
throws
Exception
;
/**
* 更新业务提取文档流程数据传输对象
*
* @param bizExtractionDocFlowDto 业务提取文档流程数据传输对象
* @return BizExtractionDocFlowDto 业务提取文档流程数据传输对象
* @throws Exception 当更新过程中发生异常时抛出
*/
BizExtractionDocFlowDto
update
(
BizExtractionDocFlowDto
bizExtractionDocFlowDto
)
throws
Exception
;
/**
* @param bizTextInTaskId
* @return
* @throws Exception
*/
String
report
(
@RequestParam
String
bizTextInTaskId
)
throws
Exception
;
}
\ No newline at end of file
src/main/java/cn/com/poc/covenant/rest/impl/BizExtractionDocFlowRestImpl.java
View file @
80039a42
...
...
@@ -30,7 +30,7 @@ public class BizExtractionDocFlowRestImpl implements BizExtractionDocFlowRest {
}
return
BizExtractionDocFlowConvert
.
entityToDto
(
bizExtractionDocFlowEntityList
.
get
(
0
));
}
@Override
public
BizExtractionDocFlowDto
update
(
BizExtractionDocFlowDto
bizExtractionDocFlowDto
)
throws
Exception
{
BizExtractionDocFlowEntity
bizExtractionDocFlowEntity
=
service
.
update
(
BizExtractionDocFlowConvert
.
dtoToEntity
(
bizExtractionDocFlowDto
));
if
(
bizExtractionDocFlowEntity
!=
null
){
...
...
@@ -38,4 +38,13 @@ public class BizExtractionDocFlowRestImpl implements BizExtractionDocFlowRest {
}
return
null
;
}
@Override
public
String
report
(
String
bizTextInTaskId
)
throws
Exception
{
Assert
.
notNull
(
bizTextInTaskId
);
//mock
return
"https://gsst-poe-sit.gz.bcebos.com/v1/%E6%B0%91%E9%97%B4%E5%80%9F%E8%B4%B7%E7%BA%A0%E7%BA%B7%E6%B0%91%E4%BA%8B%E8%B5%B7%E8%AF%89%E7%8A%B6.docx"
;
}
}
\ No newline at end of file
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