Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
常超
map-parent
Commits
4e5c2092
Commit
4e5c2092
authored
Aug 01, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群体研判、通讯信息研判(湖南)
parent
0b2ab400
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
+1
-1
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
+0
-0
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
+7
-7
service/publicapi/src/main/resources/data/getRyxx.json
+0
-0
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
View file @
4e5c2092
...
@@ -41,7 +41,7 @@ public class ZtypController {
...
@@ -41,7 +41,7 @@ public class ZtypController {
model
.
setPage
((
model
.
getPage
()
-
1
)
*
model
.
getLimit
());
model
.
setPage
((
model
.
getPage
()
-
1
)
*
model
.
getLimit
());
model
.
setLimit
(
model
.
getLimit
());
model
.
setLimit
(
model
.
getLimit
());
int
total
=
ztypService
.
getZpajxxTotal
(
model
);
int
total
=
ztypService
.
getZpajxxTotal
(
model
);
List
<
ZpajxxEntity
>
list
=
n
ull
;
List
<
ZpajxxEntity
>
list
=
n
ew
ArrayList
<>()
;
if
(
total
>
0
){
if
(
total
>
0
){
list
=
ztypService
.
getZpajxx
(
model
);
list
=
ztypService
.
getZpajxx
(
model
);
}
}
...
...
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
View file @
4e5c2092
This diff is collapsed.
Click to expand it.
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
View file @
4e5c2092
...
@@ -901,7 +901,7 @@ public class ZtypServiceImpl implements ZtypService {
...
@@ -901,7 +901,7 @@ public class ZtypServiceImpl implements ZtypService {
node1
.
setLabel
(
root
.
getName
());
node1
.
setLabel
(
root
.
getName
());
KsjResultPojo
.
Nodes
.
Properties
properties
=
new
KsjResultPojo
.
Nodes
.
Properties
();
KsjResultPojo
.
Nodes
.
Properties
properties
=
new
KsjResultPojo
.
Nodes
.
Properties
();
BeanUtils
.
copyProperties
(
node1
,
properties
);
BeanUtils
.
copyProperties
(
node1
,
properties
);
properties
.
setBoderColor
(
""
);
// 高亮
properties
.
setBoderColor
(
"
#FA0505
"
);
// 高亮
properties
.
setImgType
(
root
.
getType
());
// 图标
properties
.
setImgType
(
root
.
getType
());
// 图标
node1
.
setProperties
(
properties
);
node1
.
setProperties
(
properties
);
nodes
.
add
(
node1
);
nodes
.
add
(
node1
);
...
@@ -1182,8 +1182,8 @@ public class ZtypServiceImpl implements ZtypService {
...
@@ -1182,8 +1182,8 @@ public class ZtypServiceImpl implements ZtypService {
for
(
int
i
=
0
;
i
<
6
;
i
++)
{
for
(
int
i
=
0
;
i
<
6
;
i
++)
{
Jzxx
jzxx
=
new
Jzxx
();
Jzxx
jzxx
=
new
Jzxx
();
jzxx
.
setXm
(
"黄存新"
);
jzxx
.
setXm
(
"黄存新"
);
jzxx
.
setAddress
(
"湖南省浏阳市"
+
i
);
jzxx
.
setAddress
(
"湖南省浏阳市"
);
jzxx
.
setZjhm
(
"43012
196510265891"
+
i
);
jzxx
.
setZjhm
(
"43012
3196510265891"
);
list
.
add
(
jzxx
);
list
.
add
(
jzxx
);
}
}
return
list
;
return
list
;
...
@@ -1219,8 +1219,8 @@ public class ZtypServiceImpl implements ZtypService {
...
@@ -1219,8 +1219,8 @@ public class ZtypServiceImpl implements ZtypService {
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
List
<
NaoTuHdXx
>
hdList
=
new
ArrayList
<>();
List
<
NaoTuHdXx
>
hdList
=
new
ArrayList
<>();
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
Date
start
=
sdf
.
parse
(
txxxParam
.
getKssj
());
/*
Date start = sdf.parse(txxxParam.getKssj());
Date
end
=
sdf
.
parse
(
txxxParam
.
getJssj
());
Date end = sdf.parse(txxxParam.getJssj());
*/
// 根据标识号查看是否为演示数据 演示数据直接走数据库
// 根据标识号查看是否为演示数据 演示数据直接走数据库
if
(
skTextUtilServiceImpl
.
queryText
(
txxxParam
.
getPhoneNum
()).
size
()
>
0
)
{
if
(
skTextUtilServiceImpl
.
queryText
(
txxxParam
.
getPhoneNum
()).
size
()
>
0
)
{
JSONArray
jsonArray
=
JsonUtils
.
readJsonFromClassPath
(
"data/getHdfx.json"
,
JSONArray
.
class
);
JSONArray
jsonArray
=
JsonUtils
.
readJsonFromClassPath
(
"data/getHdfx.json"
,
JSONArray
.
class
);
...
@@ -1230,8 +1230,8 @@ public class ZtypServiceImpl implements ZtypService {
...
@@ -1230,8 +1230,8 @@ public class ZtypServiceImpl implements ZtypService {
HttpClient
httpClientCar
=
new
HttpClient
();
HttpClient
httpClientCar
=
new
HttpClient
();
JSONObject
params
=
new
JSONObject
();
JSONObject
params
=
new
JSONObject
();
params
.
put
(
"sjhm"
,
txxxParam
.
getPhoneNum
());
params
.
put
(
"sjhm"
,
txxxParam
.
getPhoneNum
());
params
.
put
(
"kssj"
,
start
);
params
.
put
(
"kssj"
,
txxxParam
.
getKssj
()
);
params
.
put
(
"jssj"
,
end
);
params
.
put
(
"jssj"
,
txxxParam
.
getJssj
()
);
JSONObject
resultPhone
=
httpClientCar
.
doPostJsonHunan
(
hunanUrl
+
hdUrl
,
params
.
toJSONString
());
JSONObject
resultPhone
=
httpClientCar
.
doPostJsonHunan
(
hunanUrl
+
hdUrl
,
params
.
toJSONString
());
if
(
resultPhone
!=
null
)
{
if
(
resultPhone
!=
null
)
{
if
(
"success"
.
equals
(
resultPhone
.
getString
(
"status"
)))
{
if
(
"success"
.
equals
(
resultPhone
.
getString
(
"status"
)))
{
...
...
service/publicapi/src/main/resources/data/getRyxx.json
View file @
4e5c2092
This diff is collapsed.
Click to expand it.
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