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
b0b78bf5
Commit
b0b78bf5
authored
Apr 25, 2019
by
zhulinying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员画像虚拟信息查询,改为只查两层
parent
738b8a0f
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 @
b0b78bf5
...
...
@@ -26,6 +26,7 @@ public class RyhxController {
List
<
Relation
>
relationInList
=
new
ArrayList
<
Relation
>();
List
<
Relation
>
relationLaList
=
new
ArrayList
<
Relation
>();
Relation
relation
=
new
Relation
();
Relation
relaFilter
=
new
Relation
();
private
AutoTbStRy
ryxx
;
int
z
=
0
;
...
...
@@ -37,18 +38,6 @@ public class RyhxController {
Qgckzp
getryxx
=
new
Qgckzp
();
ryxx
=
getryxx
.
getQgckAllxxXml
(
zjhm
);
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
();
if
(
xbdm
!=
null
&&
!
""
.
equals
(
xbdm
)){
...
...
@@ -78,50 +67,43 @@ public class RyhxController {
String
mzdmmc
=
sysDictService
.
getCodeName
(
sysDictitem
);
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);
}
//职业
code = ryxx.getZylbdm();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_ZY");
if(code != null && !"".equals(code)){
String name = sysDictService.getCodeName(sysDictitem);
jbryxx.setZylbdm(name);
}
catch
(
Exception
e
){
e
.
printStackTrace
();
}
//籍贯
code = ryxx.getJgdm();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_UNIT");
if(code != null && !"".equals(code)){
String jgmc = sysDictService.getCodeName(sysDictitem);
jbryxx.setJgdm(jgmc);
ModelAndView
modelAndView
=
new
ModelAndView
(
"ryhx/ryhx"
);
modelAndView
.
addObject
(
"ryxx"
,
ryxx
);
modelAndView
.
addObject
(
"zjhm"
,
zjhm
);
return
modelAndView
;
}
//婚姻状况
code = ryxx.getJyzkdm();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_HYZK");
if(code != null && !"".equals(code)){
String jyzkmc = sysDictService.getCodeName(sysDictitem);
jbryxx.setJyzkdm(jyzkmc);
}*/
/*虚拟信息*/
@RequestMapping
(
value
=
"/getXnsfxx"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
ModelAndView
getXnsfxx
(
String
zjhm
){
List
<
Relation
>
relationList
=
new
ArrayList
<
Relation
>();
try
{
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
){
e
.
printStackTrace
();
}
ModelAndView
modelAndView
=
new
ModelAndView
(
"ryhx/ryhx"
);
modelAndView
.
addObject
(
"ryxx"
,
ryxx
);
modelAndView
.
addObject
(
"relationList"
,
relationList
);
modelAndView
.
addObject
(
"zjhm"
,
zjhm
);
return
modelAndView
;
}
/*虚拟信息查询
/*暂时不用该方法
虚拟信息查询
根据身份证编号查询RELATION表查询该用户的相关虚拟信息:QQ、微信、银行卡号等等*/
@RequestMapping
(
value
=
"/getXnxx"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
/*
@RequestMapping(value = "/getXnxx",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView getXnxx(String zjhm){
relationInList = getXnxxList(zjhm);
ModelAndView modelAndView = new ModelAndView("ryhx/ryhx");
...
...
@@ -169,7 +151,6 @@ public class RyhxController {
}
}
}
/* }*/
}
}
} else {
...
...
@@ -191,10 +172,6 @@ public class RyhxController {
m = relationList.size();
if (relationInList.size() > 0) {
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) {
for(Relation rela : relationInList) {
if (!relationLaList.contains(rela)) {
...
...
@@ -206,7 +183,6 @@ public class RyhxController {
}
}
}
/*}*/
}
}
}
...
...
@@ -217,6 +193,6 @@ public class RyhxController {
}
System.out.print("relationLaList=====nnnnnnnnn"+relationLaList);
return relationInList;
}
}
*/
}
src/main/resources/mybatis/mapper/xzxt/RelationMapper.xml
View file @
b0b78bf5
...
...
@@ -63,14 +63,14 @@
<select
id =
"getRelation"
parameterType=
"com.founder.interservice.model.Relation"
resultType=
"com.founder.interservice.model.Relation"
>
select
r.xxzjbh as xxzjbh,
r.objectfromtype,
r.objectfromtypename,
r.objectfromvalue,
r.objecttotypename,
r.objecttotype,
r.objecttovalue,
r.timestamp,
r.first_timestamp
r.objectfromtype
as objectfromtype
,
r.objectfromtypename
as objectfromtypename
,
r.objectfromvalue
as objectfromvalue
,
r.objecttotypename
as objecttotypename
,
r.objecttotype
as objecttotype
,
r.objecttovalue
as objecttovalue
,
r.timestamp
as timestamp
,
r.first_timestamp
as first_timestamp
from relation r
<where>
<if
test=
"xxzjbh != null and xxzjbh != ''"
>
...
...
src/main/resources/static/css/base-ryhx.css
View file @
b0b78bf5
...
...
@@ -246,11 +246,19 @@ header{
.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;*/
}
.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
;}
.others4
{
width
:
calc
(
100%
-
20px
);
margin-top
:
27
px
;}
.others4
{
width
:
calc
(
100%
-
20px
);
margin-top
:
56
px
;}
.others5
{
margin-top
:
26px
;}
.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
;}
.w177
{
width
:
191px
;
height
:
170px
;}
...
...
src/main/webapp/WEB-INF/jsp/ryhx/ryhx.jsp
View file @
b0b78bf5
...
...
@@ -26,8 +26,8 @@
<!--title start-->
<!--菜单-->
<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
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)"
class=
"current"
><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 @@
</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=
"new2 animated pulse"
><span
class=
"address"
>
性别:${ryxx.xbdm}
</span></div>
...
...
@@ -73,7 +74,7 @@
<
%
--
<
div
class=
"new8 animated pulse w69"
><span
class=
"others5"
>
${ryxx.zylbdm}
</span></div>
--%>
</div>
<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}"
>
<div
class=
"new1 tabs-o animated pulse"
>
<span
class=
"tbs-title"
>
${xnxx.objectfromtypename}
</span>
...
...
@@ -83,16 +84,14 @@
</div>
</div>
</c:if>
<c:if
test=
"${not empty xnxx.objecttotypename}"
>
</c:forEach
>
<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=
"fl count"
onclick=
"tips(this)"
>
3
</div>
<div
class=
"fl ajbh"
>
${
xnxx.objecttovalue
}
</div>
<div
class=
"fl ajbh"
>
${
zjhm
}
</div>
</div>
</div>
</c:if>
</c:forEach>
</div>
<div
id=
"content3"
class=
"content"
style=
"display:none;"
>
<div
class=
"new1 tabs-o animated pulse"
style=
"margin-left: -298px;"
>
...
...
@@ -253,5 +252,10 @@
<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=
"/js/ryhx.js"
></script>
<script>
function
getjbxx
()
{
var
zjhm
=
$
(
"#zjhm"
).
val
();
}
</script>
</body>
</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