Commit 4edc5dfd by caojingji

Merge remote-tracking branch 'remotes/master/master' into caopeng_bate1

parents 715a1d85 76152691
......@@ -42,4 +42,8 @@ public class BkTaskResult {
//忽略针对这个字段的映射
@Transient
private String cxlx;//查询类型
private String xxly; //信息来源,如果是民警手动录入的,则默认给录入人姓名,如果是系统自动加入布控,则给布控任务的布控对象号码
private String xxlytype;//信息来源type,01,表示民警录入,02,表示系统关联自动加入
}
......@@ -28,12 +28,12 @@ public class Bkxx {
private String bkyq;
private String asjbh ;//案事件编号
private String sms;//是否短信通知(0:否 1:是)
@JSONField(format = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private java.util.Date bksj_start ;
@JSONField(format = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private java.util.Date bksj_end;
private String sqr_sfzh;
private String sqr_xm;
......@@ -47,5 +47,7 @@ public class Bkxx {
private String bkqx;//布控期限
private String type;//区分布控和追踪,01表示布控,02表示追踪
private String xxly; //信息来源,如果是民警手动录入的,则默认给录入人姓名,如果是系统自动加入布控,则给布控任务的布控对象号码
private String xxlytype;//信息来源type,01,表示民警录入,02,表示系统关联自动加入
}
......@@ -5,6 +5,8 @@ import com.founder.interservice.bkxx.model.Bkxx;
import com.founder.interservice.bkxx.repository.BkTaskResultRepository;
import com.founder.interservice.bkxx.repository.BkxxRepository;
import com.founder.interservice.mapper.xzxt.BkxxMapper;
import com.founder.interservice.model.Track;
import com.founder.interservice.util.DateUtil;
import com.founder.interservice.util.KeyUtil;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -186,6 +188,8 @@ public class BkScheduleService {
BkTaskResult bkTaskResult = bkServiceCommon.setBkResult( null, task, "",imei);
bkTaskResult.setFlag("01");
bkTaskResult.setType(taskType);
bkTaskResult.setXxly(task.getSqr_xm());
bkTaskResult.setXxlytype("02");
bkTaskResultRepository.save(bkTaskResult);
/**
* 出现新的IMEI号码.出现新的imei号需要作三件事
......@@ -195,13 +199,14 @@ public class BkScheduleService {
*/
//首先加入布控
Bkxx bkxx = new Bkxx();
BeanUtils.copyProperties(task,bkxx);
bkxx.setXxzjbh(KeyUtil.getUniqueKey("BK"));
bkxx.setBkdxlx("007");
bkxx.setBkdxhm(imei);
bkxx.setBkdxlxmc("IMEI");
bkxx.setType(taskType);
bkxx.setXxly(task.getBkdxhm());
bkxx.setXxlytype("02"); //系统关联自动加入
//如果是追踪,则出现新的IMEI号是不需要加入任务的,因为IMEI号码并不能调取最新位置
int oldCount = bkxxMapper.selectBkxx(bkxx);
if (oldCount<1&&"01".equals(taskType)){
......@@ -226,8 +231,45 @@ public class BkScheduleService {
task.setXgsj(new Date());
bkxxRepository.save(task);
}
}
}
}else if ("005".equals(bshlx)){
/* System.out.println("============进入了005的任务==========");*/
List<String> oldCphms = new ArrayList<>();
String kssj = DateUtil.getDate().getTime()+"";
String jssj = DateUtil.convertStringToDate(DateUtil.beforeDate(-1).substring(0,10)).getTime()+"";
//每次保存之前进行重复判断
List<BkTaskResult> bkTaskResults = bkTaskResultRepository.findBkResultsByBkXxzjbh(task.getXxzjbh());
/* System.out.println("============005的任务==========当前的xxzjbh========"+task.getXxzjbh());*/
if(bkTaskResults!=null&&bkTaskResults.size()>0){
/*System.out.println("============进入了005的任务==========有重复=====================");*/
for (BkTaskResult oldResult:bkTaskResults) {
oldCphms.add(oldResult.getBkbsh());
}
if(!oldCphms.contains(task.getBkdxhm())){
//出现新的车牌号码
//直接获取轨迹信息
Track newLocation = bkServiceCommon.getNewLocation(task.getBkdxhm(),kssj,jssj);
BkTaskResult bkTaskResult = bkServiceCommon.setBkResult( newLocation, task, "","");
bkTaskResult.setFlag("01");
bkTaskResult.setType(taskType);
bkTaskResult.setXxly(task.getSqr_xm());
bkTaskResult.setXxlytype("02");
bkTaskResultRepository.save(bkTaskResult);
}
}else{
//此数据库中没有
//出现新的车牌号
Track newLocation = bkServiceCommon.getNewLocation(task.getBkdxhm(),kssj,jssj);
BkTaskResult bkTaskResult = bkServiceCommon.setBkResult( newLocation, task, "","");
bkTaskResult.setType(taskType);
bkTaskResult.setFlag("01");
bkTaskResultRepository.save(bkTaskResult);
}
}
//保存结果之后,更新任务状态,表示有结果返回
task.setBkzt("02");
task.setXgsj(new Date());
bkxxRepository.save(task);
}
}
private void getTrackAndImsi(Bkxx task, List<String> imsis) {
......
......@@ -65,6 +65,8 @@ public class BkServiceCommon {
bkTaskResult.setType(task.getType());
bkTaskResult.setImsi(imsi);
bkTaskResult.setImei(imei);
bkTaskResult.setXxly(task.getXxly());
bkTaskResult.setXxlytype(task.getXxlytype());
if(newLocation!=null){
bkTaskResult.setNewLocation(newLocation.getAddress());
bkTaskResult.setJ(newLocation.getJ());
......@@ -138,7 +140,7 @@ public class BkServiceCommon {
oldResult.setZqsj(new Date(newLocation.getTimestamp()));
bkTaskResultRepository.save(oldResult);
//给民警发送短信通知最新位置
String content = "您针对"+task.getBkdxlxmc()+":"+task.getBkdxhm()+"的"+messStr+"任务有新的轨迹信息,"+newLocation.getTimestr()+"最新位置为:"+newLocation.getAddress()+"请及时返回信息布控脑图查看详细情况。【重庆刑专-智慧侦查脑图】";
String content = "您针对"+task.getBkdxlxmc()+":"+task.getBkdxhm()+"的"+messStr+"任务有新的轨迹信息,"+DateUtil.getDateTime(new Date(newLocation.getTimestamp()))+"最新位置为:"+newLocation.getAddress()+"请及时返回信息布控脑图查看详细情况。【重庆刑专-智慧侦查脑图】";
sendMessage(content,task.getSqr_sfzh(),task.getSqr_lxdh());
}
}
......@@ -161,6 +163,8 @@ public class BkServiceCommon {
bkxx.setBkdxlxmc("IMSI");
bkxx.setBkdxhm(imsi);
bkxx.setType(taskType);
bkxx.setXxly(task.getBkdxhm());
bkxx.setXxlytype("02"); //系统关联自动加入
int oldCount = bkxxMapper.selectBkxx(bkxx);
if (oldCount<1){
//加入布控表
......
......@@ -11,6 +11,8 @@ import com.founder.interservice.bkxx.service.BkService;
import com.founder.interservice.enums.ResultEnum;
import com.founder.interservice.exception.InterServiceException;
import com.founder.interservice.mapper.xzxt.BkxxMapper;
import com.founder.interservice.model.Track;
import com.founder.interservice.util.DateUtil;
import com.founder.interservice.util.KeyUtil;
import com.founder.interservice.util.ResultVOUtil;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -47,6 +49,8 @@ public class BkServiceImpl implements BkService{
bkxx.setXxzjbh(id);
bkxx.setDjsj(new Date());
bkxx.setBkzt("01");
bkxx.setXxly(bkxx.getSqr_xm());
bkxx.setXxlytype("01");
bkxxRepository.save(bkxx);
result.put("id", bkxx.getXxzjbh());
result.put("status", ResultEnum.SUCCESS.getCode());
......@@ -109,6 +113,35 @@ public class BkServiceImpl implements BkService{
}
}
}
}else if("005".equals(bkxx.getBkdxlx())){
//005:车牌号
List<String> oldCphm = new ArrayList<>();
String kssj = DateUtil.getDate().getTime()+"";
String jssj = DateUtil.convertStringToDate(DateUtil.beforeDate(-1).substring(0,10)).getTime()+"";
/* System.out.println("=============================进来了=========================");
System.out.println("=============================进来了=============信息主键============"+bkxx.getXxzjbh());*/
List<BkTaskResult> bkTaskResults = bkTaskResultRepository.findBkResultsByBkXxzjbh(bkxx.getXxzjbh());
/* System.out.println("=============================进来了=============判重成功了============"+bkTaskResults.size());*/
if(bkTaskResults!=null&&bkTaskResults.size()>0){
for (BkTaskResult oldResult:bkTaskResults){
oldCphm.add(oldResult.getBkbsh());
}
if (!oldCphm.contains(bkxx.getBkdxhm())){
//在库中不存在
//直接获取轨迹信息
Track newLocation = bkServiceCommon.getNewLocation(bkxx.getBkdxhm(),kssj,jssj);
/* System.out.print("获取的轨迹信息:"+newLocation.getAddress()+";==经纬度="+newLocation.getJ()+"===纬度"+newLocation.getW());*/
BkTaskResult bkTaskResult = bkServiceCommon.setBkResult( newLocation, bkxx, "", "");
bkTaskResultRepository.save(bkTaskResult);
}
}else {
//关于此数据,库中没有结果
//直接获取轨迹信息
Track newLocation = bkServiceCommon.getNewLocation(bkxx.getBkdxhm(),kssj,jssj);
/* System.out.println("=============================进来了==查询了轨迹============"+newLocation.getAddress());*/
BkTaskResult bkTaskResult = bkServiceCommon.setBkResult( newLocation, bkxx, "", "");
bkTaskResultRepository.save(bkTaskResult);
}
}
} else {
......
......@@ -99,7 +99,7 @@ public class PushWaDataController {
public ResultVO pushTaskStatus(String taskId){
ResultVO resultVO = null;
try{
String result = pushWaDataService.pushTaskStatus(taskId);
String result = pushWaDataService.pushTaskStatus(taskId,0);
resultVO = ResultVOUtil.success(JSONObject.parseObject(result));
}catch (InterServiceException e){
e.printStackTrace();
......@@ -162,7 +162,7 @@ public class PushWaDataController {
public ResultVO sendDzgzTask(String param) throws InterServiceException{
ResultVO resultVO = null;
try{
String result = pushWaDataService.sendDzgzTask(param);
String result = pushWaDataService.sendDzgzTask(param,0);
resultVO = ResultVOUtil.success(JSONObject.parseObject(result));
}catch (InterServiceException e){
e.printStackTrace();
......@@ -182,7 +182,7 @@ public class PushWaDataController {
public ResultVO getDzgzTaskInfo(String taskId) throws InterServiceException{
ResultVO resultVO = null;
try{
String result = pushWaDataService.getDzgzTaskInfo(taskId);
String result = pushWaDataService.getDzgzTaskInfo(taskId,0);
resultVO = ResultVOUtil.success(JSONObject.parseObject(result));
}catch (InterServiceException e){
e.printStackTrace();
......
......@@ -8,6 +8,7 @@ import java.util.Date;
@Data
public class DzgzTaskFilter {
private String rwresult;//任务结果
private String taskId;//任务编号
private String taskName; //任务名称
private String taskCaseId;// 案件编号
......
......@@ -8,6 +8,8 @@ import java.util.Date;
@Data
public class DzgzTask {
private String rwresult;//任务结果
private String rwsd;//任务时段 0-当天该时段 1-前一天该时段 2-前两天该时段 3-前三天该时段 4-前四天(整天) 5-前五天(整天) 6-后三天(整三天)
private String taskId;//任务编号
private String taskName; //任务名称
private String taskCaseId;// 案件编号
......
package com.founder.interservice.gwdq.Bean;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* ****************************************************************************
*
* @Package: [com.founder.framework.base.entity.SessionBean.java]
* @ClassName: [SessionBean]
* @Description: [Session中存储值的JavaBean]
* @Author: [weiwen ]
* @CreateDate: [2013-12-3 下午5:17:21]
* @UpdateUser: [weiwen(如多次修改保留历史记录,增加修改记录)]
* @UpdateDate: [2013-12-3 下午5:17:21,(如多次修改保留历史记录,增加修改记录)]
* @UpdateRemark: [说明本次修改内容,(如多次修改保留历史记录,增加修改记录)]
* @Version: [v1.0]
*/
public class SessionBean implements Serializable {
private static final long serialVersionUID = 1L;
private Long userPk = null;// 人员表主键
private String userId = "";// 帐号
private String userName = "";// 人员姓名
private String password = "";// 密码
private String userType = ""; // 人员类型(1=系统管理员;2=管理人员;3=普通人员)
private Long userOrgId = null; // 人员所在部门ID
private String userOrgCode = "";// 人员所在部门代码
private String userOrgName = "";// 人员所在部门名称
private String userOrgNameQc = "";// 人员所在部门名称全称
private String userOrgNameJc = "";// 人员所在部门名称简称
private String userOrgIDPath = ""; // 人员所在部门路径ID(从根结点开始,逗号分隔)
private String userOrgIDRight = ""; // 人员拥有部门的权限(包括部门与工作组及上级部门路径,逗号分隔)
private String userOrgLevel = ""; // 人员所在部门的部门等级
private String userOrgBiztype = ""; // 人员所在部门的部门业务类型
private String userPositionId = "";// 人员岗位ID(多个时用逗号分隔)
private Long userManageOrgId = null; // 人员管理部门ID
private String userManageOrgCode = "";// 人员管理部门代码
private String userManageOrgName = "";// 人员管理部门名称
private String loginTime = "";// 登录时间
private String remoteAddr = "";// 登录机器ip
private String positionId = "";// 虚拟岗位ID(多个时用逗号分隔)
private String positionName = "";// 人员岗位名称(多个时用逗号分隔)
private String bjzbz = ""; // 人员所在部门边界坐标值
private String theme = ""; // 人员风格主题
private String industrialid = "";
private String userRoleId= "";//人员角色ID(多个时用逗号分隔)
private String grade;//用户级别 省 市 县 特
private String policemanid;//警号
public String getPolicemanid() {
return policemanid;
}
public void setPolicemanid(String policemanid) {
this.policemanid = policemanid;
}
public String getGrade() {
return grade;
}
public void setGrade(String grade) {
this.grade = grade;
}
public String getUserRoleId() {
return userRoleId;
}
public void setUserRoleId(String userRoleId) {
this.userRoleId = userRoleId;
}
private Map<String, String> powerUrls = new HashMap<String, String>();
public Map<String, String> getPowerUrls() {
return powerUrls;
}
public void setPowerUrls(Map<String, String> powerUrls) {
this.powerUrls = powerUrls;
}
/**
* 扩展属性中初始存放:
* <p>
* parentOrgID 上级部门ID<br>
* parentOrgCode 上级部门代码<br>
* parentOrgName 上级部门名称<br>
* grandOrgID 上两级部门ID<br>
* grandOrgCode 上两级部门代码<br>
* grandOrgName 上两级部门名称<br>
*/
/**
* 根据业务系统扩展属性:
* <p>
* ssDsjID 所属地市局ID<br>
* ssDsjCode 所属地市局代码<br>
* ssDsjName 所属地市局名称<br>
* ssFsxID 所属分市县局ID<br>
* ssFsxCode 所属分市县局代码<br>
* ssFsxName 所属分市县局名称<br>
* ssPcsID 所属派出所ID<br>
* ssPcsCode 所属派出所代码<br>
* ssPcsName 所属派出所名称<br>
*/
private Map<String,String> extendMap = new HashMap<String,String>();
public Long getUserPk() {
return userPk;
}
public void setUserPk(Long userPk) {
this.userPk = userPk;
}
public Long getUserManageOrgId() {
return userManageOrgId;
}
public void setUserManageOrgId(Long userManageOrgId) {
this.userManageOrgId = userManageOrgId;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getUserType() {
return userType;
}
public void setUserType(String userType) {
this.userType = userType;
}
public String getUserOrgCode() {
return userOrgCode;
}
public void setUserOrgCode(String userOrgCode) {
this.userOrgCode = userOrgCode;
}
public String getUserOrgName() {
return userOrgName;
}
public void setUserOrgName(String userOrgName) {
this.userOrgName = userOrgName;
}
public String getUserOrgNameQc() {
return userOrgNameQc;
}
public void setUserOrgNameQc(String userOrgNameQc) {
this.userOrgNameQc = userOrgNameQc;
}
public String getUserOrgNameJc() {
return userOrgNameJc;
}
public void setUserOrgNameJc(String userOrgNameJc) {
this.userOrgNameJc = userOrgNameJc;
}
public String getUserOrgIDPath() {
return userOrgIDPath;
}
public void setUserOrgIDPath(String userOrgIDPath) {
this.userOrgIDPath = userOrgIDPath;
}
public String getUserOrgIDRight() {
return userOrgIDRight;
}
public void setUserOrgIDRight(String userOrgIDRight) {
this.userOrgIDRight = userOrgIDRight;
}
public String getUserOrgLevel() {
return userOrgLevel;
}
public void setUserOrgLevel(String userOrgLevel) {
this.userOrgLevel = userOrgLevel;
}
public String getUserOrgBiztype() {
return userOrgBiztype;
}
public void setUserOrgBiztype(String userOrgBiztype) {
this.userOrgBiztype = userOrgBiztype;
}
public String getUserPositionId() {
return userPositionId;
}
public void setUserPositionId(String userPositionId) {
this.userPositionId = userPositionId;
}
public String getPositionName() {
return positionName;
}
public void setPositionName(String positionName) {
this.positionName = positionName;
}
public String getUserManageOrgCode() {
return userManageOrgCode;
}
public void setUserManageOrgCode(String userManageOrgCode) {
this.userManageOrgCode = userManageOrgCode;
}
public String getUserManageOrgName() {
return userManageOrgName;
}
public void setUserManageOrgName(String userManageOrgName) {
this.userManageOrgName = userManageOrgName;
}
public String getLoginTime() {
return loginTime;
}
public void setLoginTime(String loginTime) {
this.loginTime = loginTime;
}
public String getRemoteAddr() {
return remoteAddr;
}
public void setRemoteAddr(String remoteAddr) {
this.remoteAddr = remoteAddr;
}
public String getPositionId() {
return positionId;
}
public void setPositionId(String positionId) {
this.positionId = positionId;
}
public Long getUserOrgId() {
return userOrgId;
}
public void setUserOrgId(Long userOrgId) {
this.userOrgId = userOrgId;
}
public Map<String,String> getExtendMap() {
return extendMap;
}
public void setExtendMap(Map<String,String> extendMap) {
this.extendMap = extendMap;
}
public String getBjzbz() {
return bjzbz;
}
public void setBjzbz(String bjzbz) {
this.bjzbz = bjzbz;
}
public String getTheme() {
return theme;
}
public void setTheme(String theme) {
this.theme = theme;
}
/**
* 取得扩展属性<<br>
*
* @param key
* @return String
*/
public String getExtendValue(String key) {
String returnValue = (String) extendMap.get(key);
return returnValue;
}
/**
* 设置扩展属性<br>
*
* @param key
* @param value
* void
*/
public void putExtendValue(String key, String value) {
if (null!=key&&"".equals(key)) {
extendMap.put(key, value);
}
}
public String getIndustrialid() {
return industrialid;
}
public void setIndustrialid(String industrialid) {
this.industrialid = industrialid;
}
}
package com.founder.interservice.gwdq.Controller;
import com.alibaba.fastjson.JSONObject;
import com.founder.interservice.gwdq.service.GwdqService;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import java.io.UnsupportedEncodingException;
import java.util.*;
@Controller
public class GwdqfxtjController {
@Value("${anjian.xzxt.url}")
private String cjxzUrl;
@Autowired
private GwdqService gwdqService;
@RequestMapping(value = "/toGwdq", method = {RequestMethod.GET, RequestMethod.POST})
public ModelAndView getGwdq(String asjfsjssj, String asjbh, String userName, String passWord, String sfzh, String userCode) {
CloseableHttpClient httpclient = gwdqService.getCjxm(userName, passWord, sfzh, userCode);
//response返回的相应实体
UrlEncodedFormEntity reqEntity = null;
//建立一个NameValuePair数组,用于存储欲传送的参数
List<NameValuePair> formparams = new ArrayList<NameValuePair>();
formparams.clear();
formparams.add(new BasicNameValuePair("asjfsjssj", asjfsjssj));
formparams.add(new BasicNameValuePair("asjbh", asjbh));
try {
reqEntity = new UrlEncodedFormEntity(formparams, "utf-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
HttpPost post = new HttpPost(cjxzUrl);
post.setEntity(reqEntity);
JSONObject jsonObject = null;
String content = gwdqService.RequestUtil(httpclient, post).trim();
System.out.println(content);
if (!"".equals(content)) {
jsonObject = JSONObject.parseObject(content);
}
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("gwdq/gwdqjg");
modelAndView.addObject("mapdata",jsonObject);
return modelAndView;
}
}
package com.founder.interservice.gwdq.service;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.impl.client.CloseableHttpClient;
public interface GwdqService {
/**
* 登录采集系统
* @param userName
* @param passWord
* @param sfzh
* @param userCode
* @return
*/
public CloseableHttpClient getCjxm(String userName, String passWord, String sfzh, String userCode);
/**
*
* @param httpclient
* @param httpUriRequest
* @return
*/
public String RequestUtil(CloseableHttpClient httpclient, HttpUriRequest httpUriRequest);
}
package com.founder.interservice.gwdq.service.impl;
import com.alibaba.fastjson.JSON;
import com.founder.interservice.gwdq.Bean.SessionBean;
import com.founder.interservice.gwdq.service.GwdqService;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.BasicCookieStore;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.protocol.HTTP;
import org.apache.http.util.EntityUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import java.io.IOException;
@Service
public class GwdqServiceImpl implements GwdqService {
@Value("${anjian.login.url}")
private String cjloginUrl;
@Override
public CloseableHttpClient getCjxm(String userName, String passWord, String sfzh, String userCode) {
//创建cookieStore
BasicCookieStore cookieStore = new BasicCookieStore();
// 设置默认时间
RequestConfig defaultRequestConfig = RequestConfig.custom()
.setSocketTimeout(5000000)//表示数据传输处理时间
.setConnectTimeout(5000000)//建立连接的timeout时间
.setConnectionRequestTimeout(5000000)
.build();
//先建立一个客户端实例,将模拟一个浏览器
CloseableHttpClient httpclient = null;
//创建一个HttpClient
httpclient = HttpClients.custom()
.setDefaultCookieStore(cookieStore)//cookieStore是初始化空的
.setDefaultRequestConfig(defaultRequestConfig)
.build();
SessionBean bean = new SessionBean();
bean.setUserId(sfzh);//身份证号
bean.setPassword(passWord);//密码
bean.setUserOrgCode(userCode);//组织机构代码
bean.setUserOrgName(userName);//组织机构名称
StringEntity entity = new StringEntity(JSON.toJSONString(bean), "utf-8");
entity.setContentEncoding("utf-8");
entity.setContentType("application/json");
//post请求
HttpPost post = null;
post = new HttpPost(cjloginUrl);
//注入post数据
post.setEntity(entity);
//先登陆"http://www.xzxt.nm/login" 拿到cookie
RequestUtil(httpclient, post);
return httpclient;
}
@Override
public String RequestUtil(CloseableHttpClient httpclient, HttpUriRequest httpUriRequest) {
//返回相应
CloseableHttpResponse response = null;
try {
response = httpclient.execute(httpUriRequest);
} catch (IOException e) {
e.printStackTrace();
}
String res = null;
try {
res = EntityUtils.toString(response.getEntity(), HTTP.UTF_8);
} catch (IOException e) {
e.printStackTrace();
}
System.out.println("采集返回参数===" + res);
return res;
}
}
......@@ -24,4 +24,5 @@ public interface DzgzTaskMapper {
int getDzgjResultDetailListTotalCount(DzgzTaskResult dzgzTaskResult) throws Exception;
List<DzgzTask> queryAllUnFinishTask();
}
......@@ -18,4 +18,6 @@ public interface DzgzTaskResultMapper {
void saveDzgzDetail(RegionalTaskResultDetail detail)throws Exception;
int dzgzDetailIsExist(RegionalTaskResultDetail param)throws Exception;
int existsDzgzTaskResult(DzgzTaskResult dzgzTask);
}
package com.founder.interservice.mapper.xzxt;
import com.founder.interservice.ryhx.model.TbStCqhotel;
import com.founder.interservice.ryhx.model.TbStCqwbdata;
import com.founder.interservice.ryhx.vo.TbStCqwbdataVOS;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.founder.interservice.ryhx.model.TbStCqhotelData;
@Mapper
@Repository
public interface RyhxMapper {
TbStCqhotel queryHotelAddr(String hotelno) throws Exception;
TbStCqhotelData queryHotelDetail(String hotelno) throws Exception;
TbStCqwbdataVOS queryWbxx(String zjhm) throws Exception;
}
......@@ -3,6 +3,11 @@ package com.founder.interservice.ryhx.controller;
import com.founder.interservice.model.AutoTbStRy;
import com.founder.interservice.model.Relation;
import com.founder.interservice.model.SysDictitem;
import com.founder.interservice.ryhx.model.TbStCqhotel;
import com.founder.interservice.ryhx.model.TbStCqhotelData;
import com.founder.interservice.ryhx.model.TbStCqwbdata;
import com.founder.interservice.ryhx.service.RyhxService;
import com.founder.interservice.ryhx.vo.TbStCqwbdataVOS;
import com.founder.interservice.service.DataService;
import com.founder.interservice.service.SysDictService;
import com.founder.interservice.util.Qgckzp;
......@@ -23,15 +28,17 @@ public class RyhxController {
private SysDictService sysDictService;
@Autowired
private DataService dataService;
List<Relation> relationInList = new ArrayList<Relation>();
List<Relation> relationLaList = new ArrayList<Relation>();
@Autowired
private RyhxService ryhxService;
Relation relation = new Relation();
Relation relaFilter = new Relation();
private AutoTbStRy ryxx;
int z = 0;
/*List<Relation> relationInList = new ArrayList<Relation>();
List<Relation> relationLaList = new ArrayList<Relation>();
int z = 0;*/
@RequestMapping(value = "/toRyhxJsp",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView toRyhxJsp(String zjhm){
@RequestMapping(value = "/getJbxx",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView getJbxx(String zjhm){
String code = "";
SysDictitem sysDictitem = new SysDictitem();
try{
......@@ -53,12 +60,12 @@ public class RyhxController {
}
//户籍地
code = ryxx.getHjdzXzqhdm();
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_UNIT");
if(code != null && !"".equals(code)){
String hjdzDzmc = sysDictService.getCodeName(sysDictitem);
ryxx.setHjmc(hjdzDzmc);
}
sysDictitem.setCode(code);
sysDictitem.setGroupid("CODE_UNIT");
if(code != null && !"".equals(code)){
String hjdzDzmc = sysDictService.getCodeName(sysDictitem);
ryxx.setHjmc(hjdzDzmc);
}
//民族
code = ryxx.getMzdm();
sysDictitem.setCode(code);
......@@ -71,7 +78,7 @@ public class RyhxController {
}catch (Exception e){
e.printStackTrace();
}
ModelAndView modelAndView = new ModelAndView("ryhx/ryhx");
ModelAndView modelAndView = new ModelAndView("ryhx/jbxx");
modelAndView.addObject("ryxx",ryxx);
modelAndView.addObject("zjhm",zjhm);
return modelAndView;
......@@ -94,11 +101,68 @@ public class RyhxController {
}catch (Exception e){
e.printStackTrace();
}
ModelAndView modelAndView = new ModelAndView("ryhx/ryhx");
ModelAndView modelAndView = new ModelAndView("ryhx/xnxx");
modelAndView.addObject("relationList",relationList);
modelAndView.addObject("zjhm",zjhm);
return modelAndView;
}
/*旅店信息查询
查询表为TB_ST_CQHOTELDATA
网吧信息查询
查询表为TB_ST_CQWBDATA
* */
@RequestMapping(value = "/getLdjbxx",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView getLdjbxx(String zjhm){
TbStCqhotelData tbStCqhotelData = null;
TbStCqhotel tbStCqhotel = null;
SysDictitem sysDictitem = new SysDictitem();
TbStCqwbdataVOS tbStCqwbdataVOS = null;
try{
if(zjhm != null && !"".equals(zjhm)){
String idcode = zjhm;
//旅店信息
tbStCqhotelData = ryhxService.queryHotelxx(idcode);
String hotelno = tbStCqhotelData.getHotelno();
//疑似落脚点
if(hotelno != null && !"".equals(hotelno)){
tbStCqhotel = ryhxService.queryHotelAddr(hotelno);
}
//网吧信息
tbStCqwbdataVOS = ryhxService.queryWbxx(zjhm);
if(tbStCqwbdataVOS !=null) {
String wbxzqh = tbStCqwbdataVOS.getWbxzqh();
sysDictitem.setCode(wbxzqh);
sysDictitem.setGroupid("CODE_UNIT");
if (wbxzqh != null && !"".equals(wbxzqh)) {
String wbxzqhmc = sysDictService.getCodeName(sysDictitem);
tbStCqwbdataVOS.setWbxzqhmc(wbxzqhmc);
}
}
}
}catch (Exception e){
e.printStackTrace();
}
ModelAndView modelAndView = new ModelAndView("ryhx/gjxx");
modelAndView.addObject("zjhm",zjhm);
modelAndView.addObject("hotel",tbStCqhotelData);
modelAndView.addObject("hotela",tbStCqhotel);
modelAndView.addObject("wbxx",tbStCqwbdataVOS);
return modelAndView;
}
/**
* 人员画像ifram界面
* @return
*/
@RequestMapping(value = "/toRyhxJsp",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView toRyhxJsp(){
ModelAndView model = new ModelAndView();
model.setViewName("ryhx/ryhx");
return model;
}
/*轨迹信息查询*/
/*暂时不用该方法
虚拟信息查询
......
package com.founder.interservice.ryhx.model;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
@Entity
@DynamicUpdate
@Data
public class TbStCqhotel {
@Id
private String hno;//旅店编号,主键
private String hname;//旅店名称
private String haddress;//旅店详细地址
private String telphone;//旅店电话
private String hroomnum;//旅店房间总数
private String legalperson;//法人名称
private String principal;//主要负责人名称
private String socialduty;//负责人名称
private String hlat;//旅店位置纬度
private String hlong;//旅店位置经度
private String pcscode;//派出所代码
private String pcsname;//派出所名称
private String pcsdh;//派出所电话
private Date gxsj;//更新时间
private Date rksj;//入库时间
}
package com.founder.interservice.ryhx.model;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
@Entity
@DynamicUpdate
@Data
public class TbStCqhotelData {
@Id
private String xxzjbh;//旅店编号,主键
private String xm;//姓名
private String py;//拼音
private String idcode;//身份证号
private String csrq;//出生日期
private String xb;//性别
private String mz;//名族
private String address;//户籍地址
private String hotelno;//旅店编号
private String roomno;//房间号码
private String createtime;//创建时间
private String rksj;//入库时间
private String gxsj;//更新时间
}
\ No newline at end of file
package com.founder.interservice.ryhx.model;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
@DynamicUpdate
@Data
public class TbStCqwbdata {
@Id
private String xxzjbh;//信息主键编号,主键
private String wbdm;//网吧代码
private String wbmc;//网吧名称
private String wbxzqh;//网吧行政区划代码
private String wbdz;//网吧地址
private String xm;//姓名
private String sex;//性别
private String csrq;//出生日期
private String zjhm;//证件号码
private String gj;//国籍
private String mz;//民族
private String address;//户籍地址
private String swkssj;//上网开始时间
private String swjssj;//上网结束时间
private String swzwh;//上网座位号
private String createtime;//创建时间
private String rksj;//入库时间
private String gxsj;//更新时间
private String wbxzqhmc;//网吧行政区划名称
}
package com.founder.interservice.ryhx.model;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
@DynamicUpdate
@Data
public class TbStCqwbxx {
@Id
private String wbno;//网吧编号,主键
private String wbname;//网吧名称
private String wbaddress;//网吧详细地址
private String telphone;//网吧电话
private String boss;//老板姓名
private String wblat;//网吧位置纬度
private String wblong;//网吧位置经度
private String pcscode;//派出所代码
private String pcsname;//派出所名称
private String gxsj;//更新时间
private String rksj;//入库时间
}
package com.founder.interservice.ryhx.service;
import com.founder.interservice.ryhx.model.TbStCqhotel;
import com.founder.interservice.ryhx.model.TbStCqhotelData;
import com.founder.interservice.ryhx.model.TbStCqwbdata;
import com.founder.interservice.ryhx.vo.TbStCqwbdataVOS;
import org.apache.poi.ss.formula.functions.T;
/**
* @ClassName: RyhxService
* @Auther: 朱琳瑛
* @Description: java类作用描述
* @CreateDate: 2019-04-27 14:16
* @Version: 1.0
*/
public interface RyhxService {
TbStCqhotel queryHotelAddr(String hotelno) throws Exception;
TbStCqhotelData queryHotelxx(String idcode) throws Exception;
TbStCqwbdataVOS queryWbxx(String zjhm) throws Exception;
}
package com.founder.interservice.ryhx.service.impl;
import com.founder.interservice.mapper.xzxt.RyhxMapper;
import com.founder.interservice.ryhx.model.TbStCqhotel;
import com.founder.interservice.ryhx.model.TbStCqhotelData;
import com.founder.interservice.ryhx.model.TbStCqwbdata;
import com.founder.interservice.ryhx.service.RyhxService;
import com.founder.interservice.ryhx.vo.TbStCqwbdataVOS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class RyhxServiceImpl implements RyhxService {
@Autowired
private RyhxMapper ryhxMapper;
/*根据证旅店编号查询旅店地址*/
@Override
public TbStCqhotel queryHotelAddr(String hotelno)throws Exception {
TbStCqhotel tbStCqhotel = ryhxMapper.queryHotelAddr(hotelno);
return tbStCqhotel;
}
/*根据旅店编号查找旅店详细信息*/
@Override
public TbStCqhotelData queryHotelxx(String idcode) throws Exception{
TbStCqhotelData tbStCqhotelData = ryhxMapper.queryHotelDetail(idcode);
return tbStCqhotelData;
}
/*根据证件号码查询网吧表网吧信息*/
@Override
public TbStCqwbdataVOS queryWbxx(String zjhm) throws Exception{
TbStCqwbdataVOS tbStCqwbdataVOS = ryhxMapper.queryWbxx(zjhm);
return tbStCqwbdataVOS;
}
}
package com.founder.interservice.ryhx.vo;
import lombok.Data;
@Data
public class TbStCqwbdataVOS {
private String xxzjbh;//信息主键编号,主键
private String wbdm;//网吧代码
private String wbmc;//网吧名称
private String wbxzqh;//网吧行政区划代码
private String wbdz;//网吧地址
private String xm;//姓名
private String sex;//性别
private String csrq;//出生日期
private String zjhm;//证件号码
private String gj;//国籍
private String mz;//民族
private String address;//户籍地址
private String swkssj;//上网开始时间
private String swjssj;//上网结束时间
private String swzwh;//上网座位号
private String createtime;//创建时间
private String rksj;//入库时间
private String gxsj;//更新时间
private String wbxzqhmc;//网吧行政区划名称
}
......@@ -10,11 +10,11 @@ public interface PushWaDataService {
public String pushTrack(String caseId,String caseName,String username,String startTime,String endTime,String objectValue) throws InterServiceException;
public String pushRelations(String caseId,String caseName,String username,String objectValue) throws InterServiceException;
public String pushRelationAll(String caseId,String caseName,String username,String objectValue) throws InterServiceException;
public String pushTaskStatus(String taskId) throws InterServiceException;
public String pushTaskStatus(String taskId,int i) throws InterServiceException;
public String sendTogetherTask(String taskCaseId,String taskName,String username,String startTime,String endTime,String objectType,String objectValue) throws InterServiceException;
public String getTogetherTaskInfo(String taskId) throws InterServiceException;
public String sendDzgzTask(String param) throws InterServiceException;
public String getDzgzTaskInfo(String taskId) throws InterServiceException;
public String sendDzgzTask(String param,int i) throws InterServiceException;
public String getDzgzTaskInfo(String taskId,int i) throws InterServiceException;
public String doPostWaData(String urlName,String param) throws InterServiceException;
String sendRegionalTask(String param) throws InterServiceException;
......
......@@ -106,13 +106,18 @@ public class PushWaDataServiceImpl implements PushWaDataService {
* @return json字符串
*/
@Override
public String pushTaskStatus(String taskId) throws InterServiceException{
public String pushTaskStatus(String taskId,int i) throws InterServiceException{
String result = null;
try{
String url = "taskStatus/"+taskId;
result = doPostWaData(url,null);
}catch (Exception e){
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
if(i<5){//多调用几次接口
i++;
result = pushTaskStatus(taskId,i);
}else{
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
}
}
return result;
}
......@@ -178,12 +183,17 @@ public class PushWaDataServiceImpl implements PushWaDataService {
* @throws InterServiceException
*/
@Override
public String sendDzgzTask(String param) throws InterServiceException{
public String sendDzgzTask(String param,int i) throws InterServiceException{
String result = null;
try{
result = doPostWaData("fixedEvidenceByRegionTask",param);
}catch (Exception e){
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
if(i<5){//多调用几次接口
i++;
result = sendDzgzTask(param,i);
}else{
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
}
}
return result;
}
......@@ -195,14 +205,19 @@ public class PushWaDataServiceImpl implements PushWaDataService {
* @throws InterServiceException
*/
@Override
public String getDzgzTaskInfo(String taskId) throws InterServiceException{
public String getDzgzTaskInfo(String taskId,int i) throws InterServiceException{
String result = null;
try{
JSONObject param = new JSONObject();
param.put("taskId", taskId);
result = doPostWaData("fixedEvidenceByRegionTaskFetch",param.toJSONString());
}catch (Exception e){
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
if(i<5){//多调用几次接口
i++;
result = getDzgzTaskInfo(taskId,i);
}else{
throw new InterServiceException(ResultEnum.REQUEST_URL_ERROR.getCode(),ResultEnum.REQUEST_URL_ERROR.getMessage());
}
}
return result;
}
......@@ -284,6 +299,7 @@ public class PushWaDataServiceImpl implements PushWaDataService {
try{
String url = UNIFIED_URL + urlName;
String result = HttpClient.doPostWaData(url,param);
System.out.println("网安数据接口路径:"+url);
return result;
}catch (InterServiceException e){
e.printStackTrace();
......
......@@ -121,4 +121,11 @@ wabigdata:
logging:
level:
com.founder.interservice.mapper.xzxt: debug
com.founder.interservice.mapper.gxzxt: debug
\ No newline at end of file
com.founder.interservice.mapper.gxzxt: debug
#采集系统 登陆 退出 域名,各省份部署时自行修改配置
#采集项目登录地址
anjian:
login:
url: http://www.xzxt.nm/login
xzxt:
url: http://anjian.xzxt.nm:9022/jwzh-anjian/cqGwdqTjxx/GetGwryTjxxs
......@@ -114,8 +114,8 @@
t.sqr_xm,
t.sqr_jh,
t.sqr_lxdh,
to_char(t.bksj_start,'yyyy-mm-dd') as bksj_start,
to_char(t.bksj_end,'yyyy-mm-dd') as bksj_end,
to_char(t.bksj_start,'yyyy-mm-dd HH24:mi:ss') as bksj_start,
to_char(t.bksj_end,'yyyy-mm-dd HH24:mi:ss') as bksj_end,
case when t.bkzt = '0' then '布控中'
when t.bkzt = '1' then '已撤销'
else ''
......
......@@ -41,6 +41,7 @@
INSERT INTO TB_ST_DZGZTASK
(
TASK_ID,
RWSD,
TASK_NAME,
TASK_CASE_ID,
QY_NAME,
......@@ -60,6 +61,12 @@
VALUES
(
#{taskId},
<if test="rwsd != null and rwsd != ''">
#{rwsd},
</if>
<if test="rwsd == null || rwsd == ''">
'0',
</if>
#{taskName},
#{taskCaseId},
#{qyName},
......@@ -139,6 +146,9 @@
<update id="updateTaskStat" parameterType="com.founder.interservice.dzgz.filter.DzgzTaskFilter">
update TB_ST_DZGZTASK t
set t.PROGRESS = #{progress},
<if test="rwresult != null and rwresult !=''">
t.rwresult = #{rwresult},
</if>
t.STATE = #{state}
<where>
t.TASK_ID = #{taskId}
......@@ -249,4 +259,40 @@
</choose>
</if>
</select>
<!-- -->
<select id="queryAllUnFinishTask" resultType="com.founder.interservice.dzgz.model.DzgzTask">
select
t.TASK_ID as taskId,
t.TASK_NAME as taskName,
t.TASK_CASE_ID as taskCaseId,
t.QY_NAME as qyName,
t.LC as lc,
t.PROGRESS as progress,
case when t.STATE = 'QUEUEING' then '排队等待'
when t.STATE = 'STARTING' then '开始运行'
when t.STATE = 'RUNNING' then '执行中'
when t.STATE = 'FINISHED' then '执行完成'
when t.STATE = 'ERROR' then '执行错误'
when t.STATE = 'TIMEOUT' then '执行超时'
else '未发起申请'
end as state,
t.START_TIME as startTime,
t.END_TIME as endTime,
t.FSR_JH as fsrJh,
t.FSR_SFZH fsrSfzh,
t.FSR_XM fsrXm,
t.FSR_LXDH fsrLxdh,
case when t.SPZT = '-1' then '未发起申请'
when t.SPZT = '0' then '审批退回'
when t.SPZT = '0' then '审批成功'
when t.SPZT = '0' then '正在申请'
else '未发起申请'
end as spzt,
t.IP as ip,
t.DJSJ as djsj,
t.RWRESULT as rwresult
FROM TB_ST_DZGZTASK t
where t.PROGRESS!='1'
</select>
</mapper>
\ No newline at end of file
......@@ -149,4 +149,14 @@
and t.OBJECT_VALUE = #{objectValue}
</update>
<select id = "existsDzgzTaskResult" parameterType = "com.founder.interservice.dzgz.model.DzgzTaskResult" resultType="int" >
select count(*)
from TB_ST_DZGZTASKRESULT t
where
t.OBJECT_TYPE = #{objectType} and
t.TASK_ID = #{taskId} and
t.OBJECT_TYPE = #{objectType} and
t.OBJECT_VALUE = #{objectValue}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.founder.interservice.mapper.xzxt.RyhxMapper">
<sql id = "getHoteldetail_where">
<if test="xxzjbh != null and xxzjbh != ''">
and xxzjbh = #{xxzjbh}
</if>
<if test="xm != null and xm != ''">
and xm = #{xm}
</if>
<if test="py != null and py != ''">
and py = #{py}
</if>
<if test="idcode != null and idcode != ''">
and idcode = #{idcode}
</if>
<if test="csrq != null and csrq != ''">
and csrq = #{csrq}
</if>
<if test="xb != null and xb != ''">
and xb = #{xb}
</if>
<if test="mz != null and mz != ''">
and mz = #{mz}
</if>
<if test="address != null and address != ''">
and address = #{address}
</if>
<if test="hotelno != null and hotelno != ''">
and hotelno = #{hotelno}
</if>
<if test="roomno != null and roomno != ''">
and roomno = #{roomno}
</if>
<if test="createtime != null and createtime != ''">
and createtime = #{createtime}
</if>
<if test="rksj != null and rksj != ''">
and rksj = #{rksj}
</if>
<if test="gxsj != null and gxsj != ''">
and gxsj = #{gxsj}
</if>
</sql>
<select id="queryHotelAddr" parameterType="java.lang.String" resultType="com.founder.interservice.ryhx.model.TbStCqhotel">
select
hno as hno,
hname as hname,
haddress as haddress,
telphone as telphone,
hroomnum as hroomnum,
legalperson as legalperson,
principal as principal,
socialduty as socialduty,
hlat as hlat,
hlong as hlong,
pcscode as pcscode,
pcsname as pcsname,
pcsdh as pcsdh,
gxsj as gxsj,
rksj as rksj
from TB_ST_CQHOTEL
where HNO = #{hotelno}
</select>
<select id="queryHotelDetail" parameterType="String" resultType="com.founder.interservice.ryhx.model.TbStCqhotelData">
select
hotelno as hotelno,
createtime as createtime,
rksj as rksj,
gxsj as gxsj
from TB_ST_CQHOTELDATA
where IDCODE = #{idcode}
</select>
<select id="queryWbxx" parameterType="String" resultType="com.founder.interservice.ryhx.vo.TbStCqwbdataVOS">
select
wbmc as wbmc,
wbxzqh as wbxzqh,
wbdz as wbdz
from TB_ST_CQWBDATA
where ZJHM = #{zjhm}
</select>
</mapper>
\ No newline at end of file
......@@ -285,14 +285,14 @@ body .layui-layer-tips .layui-layer-content{/* color:#000; */}
.layui-layer-tips .layui-layer-content{background:rgb(10, 135, 165) !important;color:#fff;}
body .layui-layer-tips i.layui-layer-TipsB, .layui-layer-tips i.layui-layer-TipsT{border-top-color: transparent; !important;border-top-style: solid;border-right-color: transparent !important;border-right-style: inherit;line-height: 0;border-color: transparent transparent rgb(10, 135, 165) transparent;border-style: dashed dashed solid dashed;}
body .layui-layer-tips i.layui-layer-TipsB{top:-16px;}
#content2 .new1:nth-child(1){margin-left: -305px;margin-top: -234px;}
#content2 .new1:nth-child(2){margin-left: -323px;margin-top: -116px;}
#content2 .new1:nth-child(3){margin-left: 76px;margin-top: -234px;}
#content2 .new1:nth-child(4){margin-left: 98px;margin-top: -116px;}
#content2 .new1:nth-child(5){margin-left: -347px;margin-top: -1px;}
#content2 .new1:nth-child(6){margin-left: 115px;margin-top: -1px;}
#content2 .new1:nth-child(7){margin-left: -370px;margin-top: 118px;}
#content2 .new1:nth-child(8){margin-left: 131px;margin-top: 118px;}
#content2 .new1:nth-child(1),#content3 .new1:nth-child(1){margin-left: -305px;margin-top: -234px;}
#content2 .new1:nth-child(2),#content3 .new1:nth-child(2){margin-left: -323px;margin-top: -116px;}
#content2 .new1:nth-child(3),#content3 .new1:nth-child(3){margin-left: 76px;margin-top: -234px;}
#content2 .new1:nth-child(4),#content3 .new1:nth-child(4){margin-left: 98px;margin-top: -116px;}
#content2 .new1:nth-child(5),#content3 .new1:nth-child(5){margin-left: -347px;margin-top: -1px;}
#content2 .new1:nth-child(6),#content3 .new1:nth-child(6){margin-left: 115px;margin-top: -1px;}
#content2 .new1:nth-child(7),#content3 .new1:nth-child(7){margin-left: -370px;margin-top: 118px;}
#content2 .new1:nth-child(8),#content3 .new1:nth-child(8){margin-left: 131px;margin-top: 118px;}
/**/
/* @media screen and (max-width: 1600px){
body{font-size: 10px;}
......
......@@ -140,8 +140,38 @@ function checkfinish(){
var day1=new Date($("#bksj_start").val());
var day2=new Date($("#bksj_end").val());
if($("#bksj_start").val()&&$("#bksj_end").val()!=""){
var z=(day2-day1)/86400000+"天";
$("#bkqx").val(z);
//计算天数
var timediff = day2-day1;
var days = parseInt(timediff/86400000);
//计算小时数
var remain = timediff%86400000;
var hours = parseInt(remain/3600000);
//计算分钟数
var remain = remain%3600000;
var mins = parseInt(remain/60000);
//计算秒
var remain = remain%60000;
var ss = parseInt(remain/1000);
var qx="";
if(days>0){
qx+=days+"日";
}
if(hours>0){
qx+=hours+"时";
}
if(mins>0){
qx+=mins+"分";
}
if(ss>0){
qx+=ss+"秒";
}
$("#bkqx").val(qx);
/* var z=(day2-day1)/86400000;
var dayyu=(day2-day1)%86400000;
var z=(day2-day1)/86400000+"天";
$("#bkqx").val(z);*/
}
}
function doClear(){
......
This source diff could not be displayed because it is too large. You can view the blob instead.
INSERT INTO XZXT.SYS_DBLOG(SID,STATUS)VALUES('S045',0);
INSERT INTO XZXT.SYS_DBLOG(SID,STATUS)VALUES('S045',0);
COMMIT;
-------------------------------------------------------------------------------------------
-- Add/modify columns
alter table TB_ST_BKXX add XXLY varchar2(200 BYTE);
-- Add comments to the columns
comment on column TB_ST_BKXX.XXLY
is '信息来源,如果是民警手动录入的,则默认给录入人姓名,如果是系统自动加入布控,则给布控任务的布控对象号码';
-- Add/modify columns
alter table TB_ST_BKXX add xxlyType varchar2(10 BYTE);
-- Add comments to the columns
comment on column TB_ST_BKXX.xxlyType
is '信息来源type,01,表示民警录入,02,表示系统关联自动加入';
-- Add/modify columns
alter table TB_BK_TASKRESULT add XXLY varchar2(200 BYTE);
-- Add comments to the columns
comment on column TB_BK_TASKRESULT.XXLY
is '信息来源,如果是民警手动录入的,则默认给录入人姓名,如果是系统自动加入布控,则给布控任务的布控对象号码';
-- Add/modify columns
alter table TB_BK_TASKRESULT add xxlyType varchar2(10 BYTE);
-- Add comments to the columns
comment on column TB_BK_TASKRESULT.xxlyType
is '信息来源type,01,表示民警录入,02,表示系统关联自动加入';
-------------------------------------------------------------------------------------------
UPDATE XZXT.SYS_DBLOG SET STATUS=1 WHERE SID='S045';
COMMIT;
\ No newline at end of file
......@@ -136,14 +136,14 @@
<td width="20%">
<span class="textbox">
<input id="bksj_start" name="bksj_start" class="val easyui-validatebox Wdate zdy-wdate " data-options="required: true" type="text" onkeypress="return checkDateFmt();"
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'bksj_end\',{d:-15});}',maxDate:'#F{$dp.$D(\'bksj_end\')}'})" />
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'bksj_end\',{d:-15});}',maxDate:'#F{$dp.$D(\'bksj_end\')}'})" />
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>至:</td>
<td width="20%">
<span class="textbox">
<input id="bksj_end" name="bksj_end" class="val easyui-validatebox Wdate zdy-wdate " data-options="required: true" type="text" onkeypress="return checkDateFmt();"
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'bksj_start\')}',maxDate:'#F{$dp.$D(\'bksj_start\',{d:15});}'})"/>
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'bksj_start\')}',maxDate:'#F{$dp.$D(\'bksj_start\',{d:15});}'})"/>
</span>
</td>
......
......@@ -105,14 +105,14 @@
<td width="20%">
<span class="textbox">
<input id="bksj_start" name="bksj_start" class="val easyui-validatebox Wdate zdy-wdate " data-options="required: true" type="text" onkeypress="return checkDateFmt();"
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'bksj_end\',{d:-15});}',maxDate:'#F{$dp.$D(\'bksj_end\')}'})" />
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'bksj_end\',{d:-15});}',maxDate:'#F{$dp.$D(\'bksj_end\')}'})" />
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>至:</td>
<td width="20%">
<span class="textbox">
<input id="bksj_end" name="bksj_end" class="val easyui-validatebox Wdate zdy-wdate " data-options="required: true" type="text" onkeypress="return checkDateFmt();"
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'bksj_start\')}',maxDate:'#F{$dp.$D(\'bksj_start\',{d:15});}'})"/>
onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'bksj_start\')}',maxDate:'#F{$dp.$D(\'bksj_start\',{d:15});}'})"/>
</span>
</td>
......
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>高危地区人员结果展示</title>
<!-- 引入 ECharts 文件 -->
<script src="/js/echarts.min.js"></script>
</head>
<body>
<div id="main" style="width: 1500px;height:500px;position: absolute; top:50%; left: 30%; margin-top: -200px; text-align: center; margin-left: -350px"></div>
<script type="text/javascript">
// 基于准备好的dom,初始化echarts实例
var myChart = echarts.init(document.getElementById('main'));
// 指定图表的配置项和数据
option = {
title : {
text: '高危地区结果统计展示',
subtext: '高危地区人员结果'
},
tooltip : {
trigger: 'axis'
},
legend: {
data:['住宿本辖区','住宿本市','上网本辖区','上网本市']
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ['2天前','1天前','案发当日','1天后','2天后']
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'住宿本辖区',
type:'bar',
data:[${mapdata.counts0}[0],${mapdata.counts0}[1],${mapdata.counts0}[2],${mapdata.counts0}[3],${mapdata.counts0}[4]],
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
},
{
name:'住宿本市',
type:'bar',
data:[${mapdata.counts1}[0],${mapdata.counts1}[1],${mapdata.counts1}[2],${mapdata.counts1}[3],${mapdata.counts1}[4]],
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name : '平均值'}
]
}
},
{
name:'上网本辖区',
type:'bar',
data:[${mapdata.counts2}[0],${mapdata.counts2}[1],${mapdata.counts2}[2],${mapdata.counts2}[3],${mapdata.counts2}[4]],
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
},
{
name:'上网本市',
type:'bar',
data:[${mapdata.counts3}[0],${mapdata.counts3}[1],${mapdata.counts3}[2],${mapdata.counts3}[3],${mapdata.counts3}[4]],
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name : '平均值'}
]
}
}
]
};
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);
</script>
</body>
</html>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>人员画像</title>
<link rel="icon" href="/images/bkxxInsertFavicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="/common/layer/skin/layer.css">
<link rel="stylesheet" type="text/css" href="/css/base-ryhx.css">
</head>
<body class="ryhx-body">
<div id="content3" class="content" style="display:none;">
<div class="new1 tabs-o animated pulse" >
<span class="tbs-title">疑似落脚点</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${hotela.haddress}</div>
</div>
</div>
<div class="new1 tabs-o animated pulse" style="">
<span class="tbs-title">出行方式</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">飞机</div>
</div>
</div>
<%--酒店信息--%>
<div class="new1 tabs-o animated pulse" >
<span class="tbs-title">入住偏好时间</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${hotel.createtime}</div>
</div>
</div>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">退房偏好时间</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${hotel.gxsj}</div>
</div>
</div>
<%--<div class="new1 tabs-o animated pulse">
<span class="tbs-title">疑似活动区域</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">重庆市刑警总队</div>
</div>
</div>--%>
<%--网吧信息--%>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">网吧名称</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${wbxx.wbmc}</div>
</div>
</div>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">疑似活动区域</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${wbxx.wbxzqhmc}</div>
</div>
</div>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">网吧地址</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${wbxx.wbdz}</div>
</div>
</div>
</div>
<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>
</script>
</body>
</html>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>人员画像</title>
<link rel="icon" href="/images/bkxxInsertFavicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="/common/layer/skin/layer.css">
<link rel="stylesheet" type="text/css" href="/css/base-ryhx.css">
</head>
<body class="ryhx-body">
<div id="content1" class="content">
<div id ="zjhm" style="display:none">${zjhm}</div>
<div class="new1 animated pulse"><span class="zdm"><span class="birthdate">姓名:${ryxx.xm}</span></span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new2 animated pulse"><span class="address">性别:${ryxx.xbdm}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new3 animated pulse"><span class="hjxx">电话:${ryxx.lxdh}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new4 animated pulse"><span class="others1">民族:${ryxx.mzdmmc}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new5 animated pulse"><span class="others2">户籍地:${ryxx.csdDzmc}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new6 animated pulse"><span class="others3">现住地:${ryxx.xzzDzmc}</span></div>
<div class="new7 animated pulse w69"><span class="others4">常用证件号码:${ryxx.cyzjZjhm}</span></div>
<div class="new8 animated pulse w69"><span class="others5">${ryxx.zylbdm}</span></div>
</div>
<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>
</script>
</body>
</html>
\ No newline at end of file
......@@ -26,7 +26,7 @@
<!--title start-->
<!--菜单-->
<ul class="hx-menu">
<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)" 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>
......@@ -47,98 +47,20 @@
<!--title start-->
<p class="title-zdy"><img class="absolute t1" src="/images/bg-top.png"/><span class="title">基本信息</span><img class="absolute t2" src="/images/bg-bottom.png"/></p>
<!--title start-->
<div class="right-people">
<in class="right-people">
<img src="/images/people.png" class="people" style=""/>
<div id="content1" class="content">
<%--<div class="tabs-o animated pulse">
<span class="tbs-title">轨迹</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">A1404245921558722</div>
</div>
</div>--%>
<!--一条折线对应一条内容,左侧-->
<div id ="zjhm">${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>
<!--一条折线对应一条内容,左侧-->
<div class="new3 animated pulse"><span class="hjxx">电话:${ryxx.lxdh}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new4 animated pulse"><span class="others1">民族:${ryxx.mzdmmc}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new5 animated pulse"><span class="others2">户籍地:${ryxx.csdDzmc}</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new6 animated pulse"><span class="others3">现住地:${ryxx.xzzDzmc}</span></div>
<div class="new7 animated pulse w69"><span class="others4">常用证件号码:${ryxx.cyzjZjhm}</span></div>
<%--<div class="new8 animated pulse w69"><span class="others5">${ryxx.zylbdm}</span></div>--%>
<input type="text" id="zjhm"/>
<%--基本信息--%>
<div id="content1" class="content">
<iframe name="myiframe" id="jbxx" frameborder="0" align="left" width="100%" height="100%" scrolling="yes"></iframe>
</div>
<%--虚拟信息--%>
<div id="content2" class="content" style="display:none;">
<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>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${xnxx.objectfromvalue}</div>
</div>
</div>
</c:if>
</c:forEach>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">身份证号码</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${zjhm}</div>
</div>
</div>
<iframe name="myiframe" id="xnxx" frameborder="0" align="left" width="100%" height="100%" scrolling="yes"></iframe>
</div>
<%--轨迹信息--%>
<div id="content3" class="content" style="display:none;">
<div class="new1 tabs-o animated pulse" style="margin-left: -298px;">
<span class="tbs-title">疑似落脚点</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">重庆市北碚区中庚城秋园酒店</div>
</div>
</div>
<div class="new2 tabs-o animated pulse" style="margin-left: -292px;margin-top: -123px;">
<span class="tbs-title">出行方式</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">飞机</div>
</div>
</div>
<div class="new3 tabs-o animated pulse" style="margin-left: 85px;">
<span class="tbs-title">入住偏好时间</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">早晨(08:00——11:00)</div>
</div>
</div>
<div class="new4 tabs-o animated pulse" style="margin-left: 102px;">
<span class="tbs-title">退房偏好时间</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">下午(18:00——20:00)</div>
</div>
</div>
<div class="new5 tabs-o animated pulse" style="margin-left: -292px;margin-top: 0px;">
<span class="tbs-title">疑似活动区域</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">重庆市刑警总队</div>
</div>
</div>
<%--<!--一条折线对应一条内容,左侧-->
<div class="new1 animated pulse w130" style="margin-left: -298px;"><span class="birthdate" style="margin-top: 58px;">疑似落脚点:重庆市北碚区中庚城</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new3 animated pulse w130"><span class="hjxx">入住偏好时间:早晨(08:00——11:00)</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new4 animated pulse w130"><span class="others1" style="margin-top: 59px;">退房偏好时间:下午(18:00——20:00)</span></div>
<!--一条折线对应一条内容,左侧-->
<div class="new5 animated pulse w130" style="margin-left: -292px;margin-top: -24px;"><span class="others2" style="margin-top: 44px;">疑似活动区域:重庆市刑警总队、重庆市九龙坡区</span></div>
<div class="new2 animated pulse w100" style="margin-left: -292px;margin-top: -123px;"><span class="address" style="margin-top: 47px;width: calc(100% - 10px);">出行方式:飞机</span></div>--%>
<iframe name="myiframe" id="gjxx" src="/getLdjbxx?yhCate=00&projectName=00" frameborder="0" align="left" width="100%" height="100%" scrolling="yes"></iframe>
</div>
<div id="content4" class="content" style="display:none;">
<!--一条折线对应一条内容,左侧-->
......@@ -256,7 +178,8 @@
function toggle(obj){
var urll = location.search; //获取url中"?"符后的字串
var zjhm = urll.substring(urll.length-18);
var url = "";
$("#zjhm").val(zjhm);
alert("zjhm ==="+ zjhm);
var ind=$(obj).index();
ind=ind+1;
$(".hx-menu li").removeClass("current");
......@@ -264,26 +187,26 @@
$(".right-xx .title").text($(obj).text());
$(".right-people .content").hide();
$("#content"+ind).show();
/* if(ind=="0"){
url="/toRyhxJsp?yhCate=00&projectName=00&zjhm="+zjhm;
$("#content1").load(url);
}else if(ind=="1"){
url="/getXnsfxx?yhCate=00&projectName=00&zjhm="+zjhm;
$("#content2").load(url);
if(ind=="1"){
alert("innn");
document.getElementById("jbxx").src = "/getJbxx?yhCate=00&projectName=00&zjhm="+zjhm;
}else if(ind=="2"){
}else if(ind=="3"){
}else if(ind=="4"){
}else if(ind=="5"){
}else if(ind=="6"){
}else if(ind=="7"){
}*/
document.getElementById("xnxx").src = "/getXnsfxx?yhCate=00&projectName=00&zjhm="+zjhm;
}
$("iframe").each(function(){
alert($(".right-xx").height())
$(this).height($(".right-xx").height());
})
}
$(function(){
var urll = location.search; //获取url中"?"符后的字串
var zjhm = urll.substring(urll.length-18);
$("#zjhm").val(zjhm);
document.getElementById("jbxx").src = "/getJbxx?yhCate=00&projectName=00&zjhm="+zjhm;
$("iframe").each(function(){
$(this).height($(".right-people").height());
})
})
</script>
</body>
</html>
\ No newline at end of file
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>人员画像</title>
<link rel="icon" href="/images/bkxxInsertFavicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="/common/layer/skin/layer.css">
<link rel="stylesheet" type="text/css" href="/css/base-ryhx.css">
</head>
<body class="ryhx-body">
<div id="content2" class="content" style="display:none;">
<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>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${xnxx.objectfromvalue}</div>
</div>
</div>
</c:if>
</c:forEach>
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">身份证号码</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">3</div>
<div class="fl ajbh">${zjhm}</div>
</div>
</div>
</div>
<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>
</script>
</body>
</html>
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