Commit eec21270 by chang_chao@founder.com.cn
parents 379e06aa 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;
}
}*/
}
......@@ -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 != ''">
......
......@@ -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:27px;}
.others4{width: calc(100% - 20px);margin-top:56px;}
.others5{margin-top: 26px;}
.news-zx3{margin-left:41px;margin-top:-214px;}
.w69{width:69px;height:73px;}
.w69{width:163px;height:158px;}
.w130{width:130px;height:140px;}
.w177{width: 191px;
height: 170px;}
......
......@@ -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="${relationInList}">
<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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment