Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
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
曹鹏
bigdatainterservice
Commits
eec21270
Commit
eec21270
authored
Apr 25, 2019
by
chang_chao@founder.com.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.92.108.28/caopeng/bigdatainterservice
parents
379e06aa
b0b78bf5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
69 deletions
+58
-69
src/main/java/com/founder/interservice/ryhx/controller/RyhxController.java
+27
-51
src/main/resources/mybatis/mapper/xzxt/RelationMapper.xml
+8
-8
src/main/resources/static/css/base-ryhx.css
+10
-2
src/main/webapp/WEB-INF/jsp/ryhx/ryhx.jsp
+13
-8
No files found.
src/main/java/com/founder/interservice/ryhx/controller/RyhxController.java
View file @
eec21270
...
@@ -26,6 +26,7 @@ public class RyhxController {
...
@@ -26,6 +26,7 @@ public class RyhxController {
List
<
Relation
>
relationInList
=
new
ArrayList
<
Relation
>();
List
<
Relation
>
relationInList
=
new
ArrayList
<
Relation
>();
List
<
Relation
>
relationLaList
=
new
ArrayList
<
Relation
>();
List
<
Relation
>
relationLaList
=
new
ArrayList
<
Relation
>();
Relation
relation
=
new
Relation
();
Relation
relation
=
new
Relation
();
Relation
relaFilter
=
new
Relation
();
private
AutoTbStRy
ryxx
;
private
AutoTbStRy
ryxx
;
int
z
=
0
;
int
z
=
0
;
...
@@ -37,18 +38,6 @@ public class RyhxController {
...
@@ -37,18 +38,6 @@ public class RyhxController {
Qgckzp
getryxx
=
new
Qgckzp
();
Qgckzp
getryxx
=
new
Qgckzp
();
ryxx
=
getryxx
.
getQgckAllxxXml
(
zjhm
);
ryxx
=
getryxx
.
getQgckAllxxXml
(
zjhm
);
if
(
ryxx
!=
null
){
if
(
ryxx
!=
null
){
/* //姓名
String xm = ryxx.getXm();
ryxx.setXm(xm);
//电话
String lxdh = ryxx.getLxdh();
ryxx.setLxdh(lxdh);
//出生地
String csdDzmc = ryxx.getCsdDzmc();
ryxx.setCsdDzmc(csdDzmc);
//常用证件号码
String cyzjZjhm = ryxx.getCyzjZjhm();
ryxx.setCyzjZjhm(cyzjZjhm);*/
//性别
//性别
String
xbdm
=
ryxx
.
getXbdm
();
String
xbdm
=
ryxx
.
getXbdm
();
if
(
xbdm
!=
null
&&
!
""
.
equals
(
xbdm
)){
if
(
xbdm
!=
null
&&
!
""
.
equals
(
xbdm
)){
...
@@ -78,50 +67,43 @@ public class RyhxController {
...
@@ -78,50 +67,43 @@ public class RyhxController {
String
mzdmmc
=
sysDictService
.
getCodeName
(
sysDictitem
);
String
mzdmmc
=
sysDictService
.
getCodeName
(
sysDictitem
);
ryxx
.
setMzdmmc
(
mzdmmc
);
ryxx
.
setMzdmmc
(
mzdmmc
);
}
}
/*//学历
code = ryxx.getXldm();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_WHCD");
if(code != null && !"".equals(code)){
String xlmc = sysDictService.getCodeName(sysDictitem);
ryxx.setXldm(xlmc);
}
}
//职业
}
catch
(
Exception
e
){
code = ryxx.getZylbdm();
e
.
printStackTrace
();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_ZY");
if(code != null && !"".equals(code)){
String name = sysDictService.getCodeName(sysDictitem);
jbryxx.setZylbdm(name);
}
}
//籍贯
ModelAndView
modelAndView
=
new
ModelAndView
(
"ryhx/ryhx"
);
code = ryxx.getJgdm();
modelAndView
.
addObject
(
"ryxx"
,
ryxx
);
sysDictitem.setCode(code);
modelAndView
.
addObject
(
"zjhm"
,
zjhm
);
sysDictitem.setGroupid("CODE_UNIT");
return
modelAndView
;
if(code != null && !"".equals(code)){
String jgmc = sysDictService.getCodeName(sysDictitem);
jbryxx.setJgdm(jgmc);
}
}
//婚姻状况
code = ryxx.getJyzkdm();
/*虚拟信息*/
sysDictitem.setCode(code);
@RequestMapping
(
value
=
"/getXnsfxx"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
sysDictitem.setGroupid("CODE_HYZK");
public
ModelAndView
getXnsfxx
(
String
zjhm
){
if(code != null && !"".equals(code)){
List
<
Relation
>
relationList
=
new
ArrayList
<
Relation
>();
String jyzkmc = sysDictService.getCodeName(sysDictitem);
try
{
jbryxx.setJyzkdm(jyzkmc);
if
(
zjhm
!=
null
&&
!
""
.
equals
(
zjhm
)){
}*/
relation
.
setObjectfromvalue
(
null
);
relation
.
setObjecttovalue
(
zjhm
);
relaFilter
.
setObjecttovalue
(
zjhm
);
relaFilter
.
setObjecttotypename
(
"身份证号码"
);
//此时Objecttovalue为身份证号码,则用oftvalue(Objectfromvalue)为条件进行查询
relationList
=
dataService
.
queryRelationList
(
relation
);
System
.
out
.
print
(
"relationList==="
+
relationList
);
}
}
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
ModelAndView
modelAndView
=
new
ModelAndView
(
"ryhx/ryhx"
);
ModelAndView
modelAndView
=
new
ModelAndView
(
"ryhx/ryhx"
);
modelAndView
.
addObject
(
"ryxx"
,
ryxx
);
modelAndView
.
addObject
(
"relationList"
,
relationList
);
modelAndView
.
addObject
(
"zjhm"
,
zjhm
);
return
modelAndView
;
return
modelAndView
;
}
}
/*虚拟信息查询
/*暂时不用该方法
虚拟信息查询
根据身份证编号查询RELATION表查询该用户的相关虚拟信息:QQ、微信、银行卡号等等*/
根据身份证编号查询RELATION表查询该用户的相关虚拟信息:QQ、微信、银行卡号等等*/
@RequestMapping
(
value
=
"/getXnxx"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
/*
@RequestMapping(value = "/getXnxx",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView getXnxx(String zjhm){
public ModelAndView getXnxx(String zjhm){
relationInList = getXnxxList(zjhm);
relationInList = getXnxxList(zjhm);
ModelAndView modelAndView = new ModelAndView("ryhx/ryhx");
ModelAndView modelAndView = new ModelAndView("ryhx/ryhx");
...
@@ -169,7 +151,6 @@ public class RyhxController {
...
@@ -169,7 +151,6 @@ public class RyhxController {
}
}
}
}
}
}
/* }*/
}
}
}
}
} else {
} else {
...
@@ -191,10 +172,6 @@ public class RyhxController {
...
@@ -191,10 +172,6 @@ public class RyhxController {
m = relationList.size();
m = relationList.size();
if (relationInList.size() > 0) {
if (relationInList.size() > 0) {
for (int n = 0; n < relationInList.size(); n++) {
for (int n = 0; n < relationInList.size(); n++) {
/* if(!relationInList.contains(relationList.get(n).getObjecttovalue())) {
relationLaList.add(relationList.get(n));
System.out.print("relationInList去重33=====" + relationInList);
System.out.print("relationLaList去重33=====" + relationLaList);*/
if (k == m) {
if (k == m) {
for(Relation rela : relationInList) {
for(Relation rela : relationInList) {
if (!relationLaList.contains(rela)) {
if (!relationLaList.contains(rela)) {
...
@@ -206,7 +183,6 @@ public class RyhxController {
...
@@ -206,7 +183,6 @@ public class RyhxController {
}
}
}
}
}
}
/*}*/
}
}
}
}
}
}
...
@@ -217,6 +193,6 @@ public class RyhxController {
...
@@ -217,6 +193,6 @@ public class RyhxController {
}
}
System.out.print("relationLaList=====nnnnnnnnn"+relationLaList);
System.out.print("relationLaList=====nnnnnnnnn"+relationLaList);
return relationInList;
return relationInList;
}
}
*/
}
}
src/main/resources/mybatis/mapper/xzxt/RelationMapper.xml
View file @
eec21270
...
@@ -63,14 +63,14 @@
...
@@ -63,14 +63,14 @@
<select
id =
"getRelation"
parameterType=
"com.founder.interservice.model.Relation"
resultType=
"com.founder.interservice.model.Relation"
>
<select
id =
"getRelation"
parameterType=
"com.founder.interservice.model.Relation"
resultType=
"com.founder.interservice.model.Relation"
>
select
select
r.xxzjbh as xxzjbh,
r.xxzjbh as xxzjbh,
r.objectfromtype,
r.objectfromtype
as objectfromtype
,
r.objectfromtypename,
r.objectfromtypename
as objectfromtypename
,
r.objectfromvalue,
r.objectfromvalue
as objectfromvalue
,
r.objecttotypename,
r.objecttotypename
as objecttotypename
,
r.objecttotype,
r.objecttotype
as objecttotype
,
r.objecttovalue,
r.objecttovalue
as objecttovalue
,
r.timestamp,
r.timestamp
as timestamp
,
r.first_timestamp
r.first_timestamp
as first_timestamp
from relation r
from relation r
<where>
<where>
<if
test=
"xxzjbh != null and xxzjbh != ''"
>
<if
test=
"xxzjbh != null and xxzjbh != ''"
>
...
...
src/main/resources/static/css/base-ryhx.css
View file @
eec21270
...
@@ -246,11 +246,19 @@ header{
...
@@ -246,11 +246,19 @@ header{
.new5
{
margin-left
:
-237px
;
margin-top
:
46px
;
width
:
69px
;
height
:
73px
;}
.new5
{
margin-left
:
-237px
;
margin-top
:
46px
;
width
:
69px
;
height
:
73px
;}
.new6
{
margin-left
:
150px
;
margin-top
:
43px
;
width
:
69px
;
height
:
73px
;
/*line-height: 73px;*/
}
.new6
{
margin-left
:
150px
;
margin-top
:
43px
;
width
:
69px
;
height
:
73px
;
/*line-height: 73px;*/
}
.new7
{
margin-left
:
-176px
;
margin-top
:
-29px
;}
.new7
{
margin-left
:
-176px
;
margin-top
:
-29px
;}
#content1
.new7
{
margin-left
:
-194px
;
margin-top
:
-115px
;
}
#content1
.new5
{
width
:
141px
;
height
:
143px
;}
#content1
.new6
{
width
:
162px
;
height
:
145px
;
margin-top
:
23px
;}
#content1
.others3
{
margin-top
:
54px
;}
#content1
.others2
{
margin-top
:
44px
;}
.new8
{
margin-left
:
-241px
;
margin-top
:
-31px
;}
.new8
{
margin-left
:
-241px
;
margin-top
:
-31px
;}
.others4
{
width
:
calc
(
100%
-
20px
);
margin-top
:
27
px
;}
.others4
{
width
:
calc
(
100%
-
20px
);
margin-top
:
56
px
;}
.others5
{
margin-top
:
26px
;}
.others5
{
margin-top
:
26px
;}
.news-zx3
{
margin-left
:
41px
;
margin-top
:
-214px
;}
.news-zx3
{
margin-left
:
41px
;
margin-top
:
-214px
;}
.w69
{
width
:
69px
;
height
:
73
px
;}
.w69
{
width
:
163px
;
height
:
158
px
;}
.w130
{
width
:
130px
;
height
:
140px
;}
.w130
{
width
:
130px
;
height
:
140px
;}
.w177
{
width
:
191px
;
.w177
{
width
:
191px
;
height
:
170px
;}
height
:
170px
;}
...
...
src/main/webapp/WEB-INF/jsp/ryhx/ryhx.jsp
View file @
eec21270
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
<!--title start-->
<!--title start-->
<!--菜单-->
<!--菜单-->
<ul
class=
"hx-menu"
>
<ul
class=
"hx-menu"
>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
基本信息
</li>
<li
onclick=
"toggle(this)"
class=
"current"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
基本信息
</li>
<li
class=
"current"
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
虚拟信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
虚拟信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
轨迹信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
轨迹信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
背景信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
背景信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
涉案信息
</li>
<li
onclick=
"toggle(this)"
><img
src=
"/images/mebu1.png"
class=
"mebu-bg"
/><img
src=
"/images/mebu3.png"
class=
"mebu-bg-long"
/>
涉案信息
</li>
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
</div>
</div>
</div>
--%>
</div>
--%>
<!--一条折线对应一条内容,左侧-->
<!--一条折线对应一条内容,左侧-->
<div
id =
"zjhm"
style=
"display: none"
>
${zjhm}
</div>
<div
class=
"new1 animated pulse"
><span
class=
"zdm"
><span
class=
"birthdate"
>
姓名:${ryxx.xm}
</span></div>
<div
class=
"new1 animated pulse"
><span
class=
"zdm"
><span
class=
"birthdate"
>
姓名:${ryxx.xm}
</span></div>
<!--一条折线对应一条内容,左侧-->
<!--一条折线对应一条内容,左侧-->
<div
class=
"new2 animated pulse"
><span
class=
"address"
>
性别:${ryxx.xbdm}
</span></div>
<div
class=
"new2 animated pulse"
><span
class=
"address"
>
性别:${ryxx.xbdm}
</span></div>
...
@@ -73,7 +74,7 @@
...
@@ -73,7 +74,7 @@
<
%
--
<
div
class=
"new8 animated pulse w69"
><span
class=
"others5"
>
${ryxx.zylbdm}
</span></div>
--%>
<
%
--
<
div
class=
"new8 animated pulse w69"
><span
class=
"others5"
>
${ryxx.zylbdm}
</span></div>
--%>
</div>
</div>
<div
id=
"content2"
class=
"content"
style=
"display:none;"
>
<div
id=
"content2"
class=
"content"
style=
"display:none;"
>
<c:forEach
var=
"xnxx"
items=
"${relation
In
List}"
>
<c:forEach
var=
"xnxx"
items=
"${relationList}"
>
<c:if
test=
"${not empty xnxx.objectfromtypename}"
>
<c:if
test=
"${not empty xnxx.objectfromtypename}"
>
<div
class=
"new1 tabs-o animated pulse"
>
<div
class=
"new1 tabs-o animated pulse"
>
<span
class=
"tbs-title"
>
${xnxx.objectfromtypename}
</span>
<span
class=
"tbs-title"
>
${xnxx.objectfromtypename}
</span>
...
@@ -83,16 +84,14 @@
...
@@ -83,16 +84,14 @@
</div>
</div>
</div>
</div>
</c:if>
</c:if>
<c:if
test=
"${not empty xnxx.objecttotypename}"
>
</c:forEach
>
<div
class=
"new1 tabs-o animated pulse"
>
<div
class=
"new1 tabs-o animated pulse"
>
<span
class=
"tbs-title"
>
${xnxx.objecttotypename}
</span>
<span
class=
"tbs-title"
>
身份证号码
</span>
<div
class=
"tbs-cont"
>
<div
class=
"tbs-cont"
>
<div
class=
"fl count"
onclick=
"tips(this)"
>
3
</div>
<div
class=
"fl count"
onclick=
"tips(this)"
>
3
</div>
<div
class=
"fl ajbh"
>
${
xnxx.objecttovalue
}
</div>
<div
class=
"fl ajbh"
>
${
zjhm
}
</div>
</div>
</div>
</div>
</div>
</c:if>
</c:forEach>
</div>
</div>
<div
id=
"content3"
class=
"content"
style=
"display:none;"
>
<div
id=
"content3"
class=
"content"
style=
"display:none;"
>
<div
class=
"new1 tabs-o animated pulse"
style=
"margin-left: -298px;"
>
<div
class=
"new1 tabs-o animated pulse"
style=
"margin-left: -298px;"
>
...
@@ -253,5 +252,10 @@
...
@@ -253,5 +252,10 @@
<script
type=
"text/javascript"
src=
"/js/jquery-1.11.3.js"
></script>
<script
type=
"text/javascript"
src=
"/js/jquery-1.11.3.js"
></script>
<script
type=
"text/javascript"
src=
"/common/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"/common/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"/js/ryhx.js"
></script>
<script
type=
"text/javascript"
src=
"/js/ryhx.js"
></script>
<script>
function
getjbxx
()
{
var
zjhm
=
$
(
"#zjhm"
).
val
();
}
</script>
</body>
</body>
</html>
</html>
\ 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