Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-app-report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Administrator
xzxt-app-report
Commits
74106a68
Commit
74106a68
authored
Jul 29, 2021
by
lilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决在提取时调用三次思悦数据检查
parent
e8888158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
src/main/java/org/springblade/founder/asj/service/StAsjXxtqService.java
+16
-4
No files found.
src/main/java/org/springblade/founder/asj/service/StAsjXxtqService.java
View file @
74106a68
...
...
@@ -6,6 +6,8 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import
org.springblade.core.mp.support.Condition
;
import
org.springblade.core.secure.utils.SecureUtil
;
import
org.springblade.founder.asj.entity.StAsj
;
import
org.springblade.founder.asj.entity.TbStAsj
;
import
org.springblade.founder.asj.mapper.AjDetailMapper
;
import
org.springblade.founder.ba.entity.XwBa
;
import
org.springblade.founder.ba.service.ITbXwBaService
;
import
org.springblade.founder.glasjry.service.ITbGlAsjRyService
;
...
...
@@ -36,6 +38,8 @@ public class StAsjXxtqService {
private
IXwRybhService
xwRybhService
;
@Autowired
private
ITbGlAsjRyService
glAsjRyService
;
@Autowired
private
AjDetailMapper
ajDetailMapper
;
@DS
(
"xzxt_qgjck"
)
...
...
@@ -186,10 +190,12 @@ public class StAsjXxtqService {
query
.
setXxscPdbz
(
"0"
);
StAsj
data
=
stAsjService
.
getOne
(
Condition
.
getQueryWrapper
(
query
));
String
token
=
getToken
();
getSysjjcUrl
(
asjbh
,
token
);
TbStAsj
tbStAsjByAsjbh
=
ajDetailMapper
.
getTbStAsjByAsjbh
(
asjbh
);
if
(
tbStAsjByAsjbh
==
null
){
getSysjjcUrl
(
asjbh
,
token
);
}
if
(
data
!=
null
){
data
.
setXxlyms
(
"信息来源于案件提取"
);
//检验案发时间
Date
afkssj
=
data
.
getAsjfssjAsjfskssj
();
if
(
afkssj
==
null
){
...
...
@@ -214,7 +220,10 @@ public class StAsjXxtqService {
List
<
XwZbfzxyr
>
finalData
=
new
ArrayList
<>();
String
errorMsg
=
""
;
String
token
=
getToken
();
getSysjjcUrl
(
asjbh
,
token
);
TbStAsj
tbStAsjByAsjbh
=
ajDetailMapper
.
getTbStAsjByAsjbh
(
asjbh
);
if
(
tbStAsjByAsjbh
!=
null
){
getSysjjcUrl
(
asjbh
,
token
);
}
if
(
data
!=
null
&&
!
data
.
isEmpty
()){
StAsj
queryAsj
=
new
StAsj
();
queryAsj
.
setAsjbh
(
query
.
getAsjbh
());
...
...
@@ -298,7 +307,10 @@ public class StAsjXxtqService {
List
<
XwRybh
>
finalData
=
new
ArrayList
<>();
String
errorMsg
=
""
;
String
token
=
getToken
();
getSysjjcUrl
(
asjbh
,
token
);
TbStAsj
tbStAsjByAsjbh
=
ajDetailMapper
.
getTbStAsjByAsjbh
(
asjbh
);
if
(
tbStAsjByAsjbh
!=
null
){
getSysjjcUrl
(
asjbh
,
token
);
}
if
(
data
!=
null
&&
!
data
.
isEmpty
()){
StAsj
queryAsj
=
new
StAsj
();
queryAsj
.
setAsjbh
(
query
.
getAsjbh
());
...
...
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