Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ocrmanage
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
班迪
ocrmanage
Merge requests
!131
update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update
feature/zhuxiang
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
zhuxiang
requested to merge
feature/zhuxiang
into
develop
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
5f4f9522
1 commit,
2 years ago
3 files
+
12
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
ServiceSite/src/main/java/com/seasky/seaskyocr/application/command/claimAudit/ClaimAuditCmdServiceImpl.java
+
4
−
0
Options
package
com.seasky.seaskyocr.application.command.claimAudit
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.http.HttpRequest
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
@@ -1665,6 +1666,9 @@ public class ClaimAuditCmdServiceImpl implements ClaimAuditCmdService {
invoiceName
=
ClaimAuditUtil
.
getBillType
(
configAgg
.
getBillTypeMap
(),
invoiceName
);
//todo 0705 新加的通用文本识别 用来识别附件表头 ,如果 票种=其他 或 教育费收据 ,调用通用文本识别接口
InvoiceSettingAggregate
agg
=
invoiceSettingRepository
.
findByInvoiceName
(
invoiceName
);
if
(!
Objects
.
isNull
(
agg
)
&&
!
ObjectUtil
.
isEmpty
(
agg
.
getInvoiceName
()))
{
invoiceName
=
agg
.
getInvoiceName
();
}
String
dataIsExist
=
ClaimAuditUtil
.
getJsonValue
(
ocrResult
,
"object_list$.item_list"
);
//if (invoiceName.equals("其他") || invoiceName.equals("教育费收据")){
if
(
Objects
.
isNull
(
agg
)
||
StringUtils
.
isEmpty
(
dataIsExist
))
{