Commit 19b5d0c5 by yangliang

添加指纹比中信息管理功能,修改人员采集

parent aed9e35f
......@@ -34,222 +34,6 @@ public class AjswtzController {
private IDicItemService dicItemService;
/**
* 根据指纹比中的指纹编号查询详情信息
* @return
*/
@RequestMapping("/getXsjsbdxq")
public ModelAndView getXsjsbdxq(HttpServletRequest request, String nyzwbh, String xczwbh, ModelAndView modelAndView){
List<TbXsjszyZwZwbzPerson> personList = new ArrayList<TbXsjszyZwZwbzPerson>();
List<TbXsjszyZwZwbzCase> caseList = new ArrayList<TbXsjszyZwZwbzCase>();
List<TbXsjszyZwZwbzJbxx> bzxxList = new ArrayList<TbXsjszyZwZwbzJbxx>();
BASE64Encoder encoder = new BASE64Encoder();
if(nyzwbh!=null&&!"".equals(nyzwbh)&&xczwbh!=null&&!"".equals(xczwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
bzxxList = xsjsbdService.getXsjsbdxqJbxx(nyzwbh,xczwbh);
}
if(nyzwbh!=null&&!"".equals(nyzwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
personList = xsjsbdService.getXsjsbdxqPerson(nyzwbh);
if(personList!=null&&personList.size()>0){
for(int i=0;i<personList.size();i++){
if(personList.get(i).getEdzzp()!=null&&personList.get(i).getEdzzp().length>0){
personList.get(i).setEdzzpBase64(encoder.encode(personList.get(i).getEdzzp()));
}
if(personList.get(i).getZmzp()!=null&&personList.get(i).getZmzp().length>0){
personList.get(i).setZmzpBase64(encoder.encode(personList.get(i).getZmzp()));
}
if(personList.get(i).getZcmzp()!=null&&personList.get(i).getZcmzp().length>0){
personList.get(i).setZcmzpBase64(encoder.encode(personList.get(i).getZcmzp()));
}
if(personList.get(i).getYcmzp()!=null&&personList.get(i).getYcmzp().length>0){
personList.get(i).setYcmzpBase64(encoder.encode(personList.get(i).getYcmzp()));
}
}
}
}
if(xczwbh!=null&&!"".equals(xczwbh)){
caseList = xsjsbdService.getXsjsbdxqCase(xczwbh);
}
modelAndView.setViewName("xsjsbdgl/zwbzxq");
String nyzw = "";//捺印指纹指位
String zwxh = "";//现场指纹序号
if(bzxxList!=null&&bzxxList.size()>0){
String type = bzxxList.get(0).getLa_type();
if("LA".equals(type)){
nyzw = bzxxList.get(0).getDestseqno();
zwxh = bzxxList.get(0).getSrcseqno();
}else if("AL".equals(type)){
zwxh = bzxxList.get(0).getDestseqno();
nyzw = bzxxList.get(0).getSrcseqno();
}
modelAndView.addObject("bzxx",bzxxList.get(0));
}
if(personList!=null&&personList.size()>0){
if(nyzw!=null&&!"".equals(nyzw)){
//List<TbXsjszyZwZwbzPerson> personZwList = xsjsbdService.getXsjsbdxqPersonZw(personList.get(0).getBarcode(),nyzw);
//if(personZwList!=null&&personZwList.size()>0&&personZwList.get(0).getRybzzwtp()!=null&&personZwList.get(0).getRybzzwtp().length>0){
// personList.get(0).setRybzzwtpBase64(encoder.encode(personZwList.get(0).getRybzzwtp()));
//}
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);
//imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh=" + zwbh);
String imgStr = getZwImagedata("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
System.out.println("株洲捺印指纹图片="+imgStr);
if(imgStr==null||"".equals(imgStr)){
imgStr = getZwImagedata("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
System.out.println("省厅捺印指纹图片="+imgStr);
}
personList.get(0).setRybzzwtpBase64(imgStr);
}
modelAndView.addObject("person",personList.get(0));
}
if(caseList!=null&&caseList.size()>0){
if(zwxh!=null&&!"".equals(zwxh)) {
List<TbXsjszyZwZwbzCase> caseZwList = xsjsbdService.getXsjsbdxqCaseZw(caseList.get(0).getBarcode(),zwxh);
if(caseZwList!=null&&caseZwList.size()>0&&caseZwList.get(0).getAjbzzwtp()!=null&&caseZwList.get(0).getAjbzzwtp().length>0){
caseList.get(0).setAjbzzwtpBase64(encoder.encode(caseZwList.get(0).getAjbzzwtp()));
}
}
modelAndView.addObject("casexx",caseList.get(0));
}
return modelAndView;
}
//调用指纹获取压缩图接口获取指纹图片
public String getZwImagedata(String url,String zwbh) {
String image = null;
HttpClientUtil hu = new HttpClientUtil();
String imgstrs = null;
try {
long startTime = System.currentTimeMillis();//获取开始时间
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);//株洲指纹压缩图接口地址
//imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh=" + zwbh);//省厅指纹压缩图接口地址
imgstrs = hu.getJsonString(url);
long endTime = System.currentTimeMillis();//获取结束时间
} catch (Exception e) {
e.printStackTrace();
}
Map<String, Object> rstmap = new HashMap<String, Object>();
if (imgstrs != null && !"".equals(imgstrs)) {
JSONObject jsonObject = (JSONObject) JSONObject.parse(imgstrs);
String code = jsonObject.getString("code");
String msg = jsonObject.getString("message");
JSONArray jsa = jsonObject.getJSONArray("ret");
for (int i = 0; i < jsa.size(); i++) {
JSONObject obj = jsa.getJSONObject(i);
String position = obj.getString("position");
int num = Integer.parseInt(position);
if (num > 10) {
position = (num - 10) + "";
}
if(position.equals(zwbh)){
image = obj.getString("image");
}
System.out.println("指位="+position+"; 指纹图片="+(image==null)+"-"+("".equals(image)));
}
}
return image;
}
/**
* 根据指纹比中的指纹编号查询详情信息
* @return
*/
@RequestMapping("/getXsjsbdxx")
@ResponseBody
public Map<String,Object> getXsjsbdxx(HttpServletRequest request, String xxzjbh){
Map<String,Object> returnMap=new HashMap<>();
List<TbXsjszyZwZwbzPerson> personList = new ArrayList<TbXsjszyZwZwbzPerson>();
List<TbXsjszyZwZwbzCase> caseList = new ArrayList<TbXsjszyZwZwbzCase>();
List<TbXsjszyZwZwbzJbxx> bzxxList = new ArrayList<TbXsjszyZwZwbzJbxx>();
BASE64Encoder encoder = new BASE64Encoder();
TbXsjszyZwZwbzJbxx tbXsjszyZwZwbz = xsjsbdService.getZwBzxx(xxzjbh);
String nyzwbh = "";
String xczwbh = "";
if(tbXsjszyZwZwbz!=null&&tbXsjszyZwZwbz.getLa_type()!=null&&!"".equals(tbXsjszyZwZwbz.getLa_type())){
if("AL".equals(tbXsjszyZwZwbz.getLa_type())){
xczwbh = tbXsjszyZwZwbz.getDestbarcode();
nyzwbh = tbXsjszyZwZwbz.getSrcbarcode();
}else if("LA".equals(tbXsjszyZwZwbz.getLa_type())){
nyzwbh = tbXsjszyZwZwbz.getDestbarcode();
xczwbh = tbXsjszyZwZwbz.getSrcbarcode();
}
}
if(nyzwbh!=null&&!"".equals(nyzwbh)&&xczwbh!=null&&!"".equals(xczwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
bzxxList = xsjsbdService.getXsjsbdxqJbxx(nyzwbh,xczwbh);
}
if(nyzwbh!=null&&!"".equals(nyzwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
personList = xsjsbdService.getXsjsbdxqPerson(nyzwbh);
if(personList.size()>0){
for(int i=0;i<personList.size();i++){
if(personList.get(i).getEdzzp()!=null&&personList.get(i).getEdzzp().length>0){
personList.get(i).setEdzzpBase64(encoder.encode(personList.get(i).getEdzzp()));
}
if(personList.get(i).getZmzp()!=null&&personList.get(i).getZmzp().length>0){
personList.get(i).setZmzpBase64(encoder.encode(personList.get(i).getZmzp()));
}
if(personList.get(i).getZcmzp()!=null&&personList.get(i).getZcmzp().length>0){
personList.get(i).setZcmzpBase64(encoder.encode(personList.get(i).getZcmzp()));
}
if(personList.get(i).getYcmzp()!=null&&personList.get(i).getYcmzp().length>0){
personList.get(i).setYcmzpBase64(encoder.encode(personList.get(i).getYcmzp()));
}
}
}
}
if(xczwbh!=null&&!"".equals(xczwbh)){
caseList = xsjsbdService.getXsjsbdxqCase(xczwbh);
}
String nyzw = "";//捺印指纹指位
String zwxh = "";//现场指纹序号
if(bzxxList.size()>0){
String type = bzxxList.get(0).getLa_type();
if("LA".equals(type)){
nyzw = bzxxList.get(0).getDestseqno();
zwxh = bzxxList.get(0).getSrcseqno();
}else if("AL".equals(type)){
zwxh = bzxxList.get(0).getDestseqno();
nyzw = bzxxList.get(0).getSrcseqno();
}
returnMap.put("bzxx",bzxxList.get(0));
}
if(personList.size()>0){
if(nyzw!=null&&!"".equals(nyzw)){
List<TbXsjszyZwZwbzPerson> personZwList = xsjsbdService.getXsjsbdxqPersonZw(personList.get(0).getBarcode(),nyzw);
if(personZwList!=null&&personZwList.size()>0&&personZwList.get(0).getRybzzwtp()!=null&&personZwList.get(0).getRybzzwtp().length>0){
personList.get(0).setRybzzwtpBase64(encoder.encode(personZwList.get(0).getRybzzwtp()));
}
}
returnMap.put("person",personList.get(0));
}
if(caseList.size()>0){
if(zwxh!=null&&!"".equals(zwxh)) {
List<TbXsjszyZwZwbzCase> caseZwList = xsjsbdService.getXsjsbdxqCaseZw(caseList.get(0).getBarcode(),zwxh);
if(caseZwList!=null&&caseZwList.size()>0&&caseZwList.get(0).getAjbzzwtp()!=null&&caseZwList.get(0).getAjbzzwtp().length>0){
caseList.get(0).setAjbzzwtpBase64(encoder.encode(caseZwList.get(0).getAjbzzwtp()));
}
}
returnMap.put("casexx",caseList.get(0));
}
return returnMap;
}
/**
* 根据现场指纹编号查询详情信息
* @return
*/
......
......@@ -62,4 +62,5 @@ public interface IAjswtzService {
* @return
*/
TbXsjszyZwZwbzJbxx getZwBzxx(String xxzjbh);
TbXsjszyZwZwbzJbxx getRyccBzxx(String xxzjbh);
}
......@@ -84,7 +84,7 @@ public class AjswtzServiceImpl implements IAjswtzService {
list = stamsisDao.getZwbzJbxx(map);
}
} catch (Exception e) {
System.out.println("根据指纹比中的指纹编号查询基本详情信息异常"+e);
System.out.println("根据指纹比中的指纹编号查询(正倒查)基本详情信息异常"+e);
}
return list;
......@@ -100,7 +100,7 @@ public class AjswtzServiceImpl implements IAjswtzService {
list = stamsisDao.getCcbzJbxx(map);
}
} catch (Exception e) {
System.out.println("根据指纹比中的指纹编号查询基本详情信息异常"+e);
System.out.println("根据指纹比中的指纹编号查询(查重)基本详情信息异常"+e);
}
return list;
......@@ -117,7 +117,7 @@ public class AjswtzServiceImpl implements IAjswtzService {
list = stamsisDao.getXsjsbdxqJbxx(map);
}
} catch (Exception e) {
System.out.println("根据指纹比中的指纹编号查询基本详情信息异常"+e);
System.out.println("根据指纹比中的指纹编号查询(比对)基本详情信息异常"+e);
}
return list;
......@@ -207,6 +207,25 @@ public class AjswtzServiceImpl implements IAjswtzService {
}
@Override
public TbXsjszyZwZwbzJbxx getRyccBzxx(String xxzjbh){
TbXsjszyZwZwbzJbxx bzxx = new TbXsjszyZwZwbzJbxx();
Map<String, Object> map = new HashMap<String, Object>();
bzxx.setId(xxzjbh);
map.put("entity", bzxx);
List<TbXsjszyZwZwbzJbxx> list = null;
try {
list = amsisDao.getCcbzJbxx(map);
if(list != null&&list.size()>0){
bzxx = list.get(0);
}
} catch (Exception e) {
System.out.println("根据指纹比中的指纹编号查询指纹图片异常"+e);
}
return bzxx;
}
@Override
public List<TbXsjszyZwZwbzCase> getXsjsbdxqCaseZwAll(String xczwbh){
Map<String, Object> map = new HashMap<String, Object>();
map.put("xczwbh", xczwbh);
......
......@@ -2121,14 +2121,18 @@ public class TbXwRycjController {
@ResponseBody
@RequestMapping("/getGdimages")
public Map<String,Object> testAsyncReturnGdImg(String zwbh) throws ExecutionException, InterruptedException {
/*
//调用指纹获取压缩图接口获取指纹图片
HttpClientUtil hu = new HttpClientUtil();
String imgstrs = null;
try {
long startTime=System.currentTimeMillis();//获取开始时间
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);
imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+zwbh);
if(zwbh!=null&&zwbh.indexOf("4302")==0){
imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);
}else{
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);
imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+zwbh);
}
long endTime=System.currentTimeMillis();//获取结束时间
System.out.println("接口调用滚动指纹返回时长: "+(endTime-startTime)+"ms");
log.info("接口调用滚动指纹返回时长: "+(endTime-startTime)+"ms");
......@@ -2166,14 +2170,14 @@ public class TbXwRycjController {
for(int i = 0; i < zws.length; i++){
//rstmap.put("rfpimg"+zws[i],null);
}
*/
/*
long start = System.currentTimeMillis();
Map<String,Object> rstmap = new HashMap<String,Object>();
for(int i=1;i<=10;i++){
Future<String> future = asyncTask.doGdzwReturn(zwbh, i);
rstmap.put("rfpimg"+i,(String)future.get());
}
*/
return rstmap;
}
......@@ -2181,14 +2185,18 @@ public class TbXwRycjController {
@RequestMapping("/getPmimages")
@ResponseBody
public Map<String,Object> testAsyncReturnPmImg(String zwbh) throws ExecutionException, InterruptedException {
/*
//调用指纹获取压缩图接口获取指纹图片
HttpClientUtil hu = new HttpClientUtil();
String imgstrs = null;
try {
long startTime=System.currentTimeMillis();//获取开始时间
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNPlainByRybh?rybh="+zwbh);
imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNPlainByRybh?rybh="+zwbh);
if(zwbh!=null&&zwbh.indexOf("4302")==0){
imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNPlainByRybh?rybh="+zwbh);
}else{
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNPlainByRybh?rybh="+zwbh);
imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNPlainByRybh?rybh="+zwbh);
}
long endTime=System.currentTimeMillis();//获取结束时间
System.out.println("接口调用平面指纹返回时长: "+(endTime-startTime)+"ms");
log.info("接口调用平面指纹返回时长: "+(endTime-startTime)+"ms");
......@@ -2226,7 +2234,7 @@ public class TbXwRycjController {
for(int i = 0; i < zws.length; i++){
//rstmap.put("pfpimg"+zws[i],null);
}
*/
/*
long start = System.currentTimeMillis();
String rst="";
Map<String,Object> rstmap = new HashMap<String,Object>();
......@@ -2234,7 +2242,7 @@ public class TbXwRycjController {
Future<String> future = asyncTask.doPmzwReturn(zwbh, i);
rstmap.put("pfpimg"+i,(String)future.get());
}
*/
return rstmap;
......@@ -3253,8 +3261,12 @@ public class TbXwRycjController {
}
@RequestMapping(value="/singleLoginAct",method = {RequestMethod.POST,RequestMethod.GET})
public String singleLoginAct(HttpServletRequest request, HttpServletResponse response,Model model,String paramval,String asjxgrybh,String rybh,String username,String sfhlcjy,String cjxm){
public String singleLoginAct(HttpServletRequest request,Model model,String paramval,String asjxgrybh,String rybh,String username,String sfhlcjy,String cjxm){
String userId=request.getParameter("userId");
String pv = request.getParameter("paramval");
if(paramval==null||"".equals(paramval)){
paramval = pv;
}
if(asjxgrybh==null||"".equals(asjxgrybh)){
asjxgrybh = rybh;
}
......
package com.founder.controller;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.founder.ajswtz.service.IAjswtzService;
import com.founder.model.*;
import com.founder.model.amsis.Plainimg;
import com.founder.model.amsis.Rollimg;
import com.founder.model.amsis.TbXsjszyZwZwbzJbxx;
import com.founder.model.amsis.*;
import com.founder.module.redis.service.IDicItemService;
import com.founder.service.*;
import com.founder.util.HttpClientUtil;
import com.founder.util.TestTask;
import com.founder.utils.*;
import org.apache.poi.hssf.usermodel.HSSFSheet;
......@@ -20,7 +21,9 @@ import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
......@@ -41,6 +44,8 @@ public class XsjsbzController {
private IAjswtzService ajswtzService;
@Autowired
private TestTask asyncTask;
@Autowired
private IAjswtzService xsjsbdService;
@RequestMapping("/toZwbzgl")
public String toZwbzgl(Model model, HttpServletRequest request){
......@@ -109,4 +114,220 @@ public class XsjsbzController {
}
}
/**
* 根据指纹比中的指纹编号查询详情信息
* @return
*/
@RequestMapping("/getXsjsbdxq")
@ResponseBody
public ModelAndView getXsjsbdxq(HttpServletRequest request, String nyzwbh, String xczwbh, ModelAndView modelAndView){
List<TbXsjszyZwZwbzPerson> personList = new ArrayList<TbXsjszyZwZwbzPerson>();
List<TbXsjszyZwZwbzCase> caseList = new ArrayList<TbXsjszyZwZwbzCase>();
List<TbXsjszyZwZwbzJbxx> bzxxList = new ArrayList<TbXsjszyZwZwbzJbxx>();
BASE64Encoder encoder = new BASE64Encoder();
if(nyzwbh!=null&&!"".equals(nyzwbh)&&xczwbh!=null&&!"".equals(xczwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
bzxxList = xsjsbdService.getXsjsbdxqJbxx(nyzwbh,xczwbh);
}
if(nyzwbh!=null&&!"".equals(nyzwbh)){
if(nyzwbh.indexOf("R")==0){
nyzwbh = nyzwbh.substring(1);
}
personList = xsjsbdService.getXsjsbdxqPerson(nyzwbh);
if(personList!=null&&personList.size()>0){
for(int i=0;i<personList.size();i++){
if(personList.get(i).getEdzzp()!=null&&personList.get(i).getEdzzp().length>0){
personList.get(i).setEdzzpBase64(encoder.encode(personList.get(i).getEdzzp()));
}
if(personList.get(i).getZmzp()!=null&&personList.get(i).getZmzp().length>0){
personList.get(i).setZmzpBase64(encoder.encode(personList.get(i).getZmzp()));
}
if(personList.get(i).getZcmzp()!=null&&personList.get(i).getZcmzp().length>0){
personList.get(i).setZcmzpBase64(encoder.encode(personList.get(i).getZcmzp()));
}
if(personList.get(i).getYcmzp()!=null&&personList.get(i).getYcmzp().length>0){
personList.get(i).setYcmzpBase64(encoder.encode(personList.get(i).getYcmzp()));
}
}
}
}
if(xczwbh!=null&&!"".equals(xczwbh)){
caseList = xsjsbdService.getXsjsbdxqCase(xczwbh);
}
modelAndView.setViewName("zwbzgl/xsjsbzxq");
String nyzw = "";//捺印指纹指位
String zwxh = "";//现场指纹序号
if(bzxxList!=null&&bzxxList.size()>0){
String type = bzxxList.get(0).getLa_type();
if("LA".equals(type)){
nyzw = bzxxList.get(0).getDestseqno();
zwxh = bzxxList.get(0).getSrcseqno();
}else if("AL".equals(type)){
zwxh = bzxxList.get(0).getDestseqno();
nyzw = bzxxList.get(0).getSrcseqno();
}
modelAndView.addObject("bzxx",bzxxList.get(0));
}
if(personList!=null&&personList.size()>0){
if(nyzw!=null&&!"".equals(nyzw)){
//List<TbXsjszyZwZwbzPerson> personZwList = xsjsbdService.getXsjsbdxqPersonZw(personList.get(0).getBarcode(),nyzw);
//if(personZwList!=null&&personZwList.size()>0&&personZwList.get(0).getRybzzwtp()!=null&&personZwList.get(0).getRybzzwtp().length>0){
// personList.get(0).setRybzzwtpBase64(encoder.encode(personZwList.get(0).getRybzzwtp()));
//}
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);
//imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh=" + zwbh);
String imgStr = getZwImagedata("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
System.out.println("株洲捺印指纹图片="+imgStr);
if(imgStr==null||"".equals(imgStr)){
imgStr = getZwImagedata("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
System.out.println("省厅捺印指纹图片="+imgStr);
}
personList.get(0).setRybzzwtpBase64(imgStr);
}
modelAndView.addObject("person",personList.get(0));
}
if(caseList!=null&&caseList.size()>0){
if(zwxh!=null&&!"".equals(zwxh)) {
List<TbXsjszyZwZwbzCase> caseZwList = xsjsbdService.getXsjsbdxqCaseZw(caseList.get(0).getBarcode(),zwxh);
if(caseZwList!=null&&caseZwList.size()>0&&caseZwList.get(0).getAjbzzwtp()!=null&&caseZwList.get(0).getAjbzzwtp().length>0){
caseList.get(0).setAjbzzwtpBase64(encoder.encode(caseZwList.get(0).getAjbzzwtp()));
}
}
modelAndView.addObject("casexx",caseList.get(0));
}
return modelAndView;
}
//调用指纹获取压缩图接口获取指纹图片
public String getZwImagedata(String url,String zwbh) {
String image = null;
HttpClientUtil hu = new HttpClientUtil();
String imgstrs = null;
try {
long startTime = System.currentTimeMillis();//获取开始时间
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+zwbh);//株洲指纹压缩图接口地址
//imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh=" + zwbh);//省厅指纹压缩图接口地址
imgstrs = hu.getJsonString(url);
long endTime = System.currentTimeMillis();//获取结束时间
} catch (Exception e) {
e.printStackTrace();
}
Map<String, Object> rstmap = new HashMap<String, Object>();
if (imgstrs != null && !"".equals(imgstrs)) {
JSONObject jsonObject = (JSONObject) JSONObject.parse(imgstrs);
String code = jsonObject.getString("code");
String msg = jsonObject.getString("message");
JSONArray jsa = jsonObject.getJSONArray("ret");
for (int i = 0; i < jsa.size(); i++) {
JSONObject obj = jsa.getJSONObject(i);
String position = obj.getString("position");
int num = Integer.parseInt(position);
if (num > 10) {
position = (num - 10) + "";
}
if(position.equals(zwbh)){
image = obj.getString("image");
}
System.out.println("指位="+position+"; 指纹图片="+(image==null)+"-"+("".equals(image)));
}
}
return image;
}
/**
* 根据指纹比中的指纹编号查询详情信息(查重)
* @return
*/
@RequestMapping("/getXsjsbdxxByRycc")
@ResponseBody
public ModelAndView getXsjsbdxxByRycc(HttpServletRequest request, String xxzjbh, String bdynyzwbh, String bdmbnyzwbh, ModelAndView modelAndView){
Map<String,Object> returnMap=new HashMap<>();
List<TbXsjszyZwZwbzPerson> bdypersonList = new ArrayList<TbXsjszyZwZwbzPerson>();
List<TbXsjszyZwZwbzPerson> bdmbpersonList = new ArrayList<TbXsjszyZwZwbzPerson>();
BASE64Encoder encoder = new BASE64Encoder();
TbXsjszyZwZwbzJbxx tbXsjszyZwZwbz = xsjsbdService.getRyccBzxx(xxzjbh);
if(bdynyzwbh!=null&&!"".equals(bdynyzwbh)){
if(bdynyzwbh.indexOf("R")==0){
bdynyzwbh = bdynyzwbh.substring(1);
}
bdypersonList = xsjsbdService.getXsjsbdxqPerson(bdynyzwbh);
if(bdypersonList.size()>0){
for(int i=0;i<bdypersonList.size();i++){
if(bdypersonList.get(i).getEdzzp()!=null&&bdypersonList.get(i).getEdzzp().length>0){
bdypersonList.get(i).setEdzzpBase64(encoder.encode(bdypersonList.get(i).getEdzzp()));
}
if(bdypersonList.get(i).getZmzp()!=null&&bdypersonList.get(i).getZmzp().length>0){
bdypersonList.get(i).setZmzpBase64(encoder.encode(bdypersonList.get(i).getZmzp()));
}
if(bdypersonList.get(i).getZcmzp()!=null&&bdypersonList.get(i).getZcmzp().length>0){
bdypersonList.get(i).setZcmzpBase64(encoder.encode(bdypersonList.get(i).getZcmzp()));
}
if(bdypersonList.get(i).getYcmzp()!=null&&bdypersonList.get(i).getYcmzp().length>0){
bdypersonList.get(i).setYcmzpBase64(encoder.encode(bdypersonList.get(i).getYcmzp()));
}
}
}
}
if(bdmbnyzwbh!=null&&!"".equals(bdmbnyzwbh)){
if(bdmbnyzwbh.indexOf("R")==0){
bdmbnyzwbh = bdmbnyzwbh.substring(1);
}
bdmbpersonList = xsjsbdService.getXsjsbdxqPerson(bdmbnyzwbh);
if(bdmbpersonList.size()>0){
for(int i=0;i<bdmbpersonList.size();i++){
if(bdmbpersonList.get(i).getEdzzp()!=null&&bdmbpersonList.get(i).getEdzzp().length>0){
bdmbpersonList.get(i).setEdzzpBase64(encoder.encode(bdmbpersonList.get(i).getEdzzp()));
}
if(bdmbpersonList.get(i).getZmzp()!=null&&bdmbpersonList.get(i).getZmzp().length>0){
bdmbpersonList.get(i).setZmzpBase64(encoder.encode(bdmbpersonList.get(i).getZmzp()));
}
if(bdmbpersonList.get(i).getZcmzp()!=null&&bdmbpersonList.get(i).getZcmzp().length>0){
bdmbpersonList.get(i).setZcmzpBase64(encoder.encode(bdmbpersonList.get(i).getZcmzp()));
}
if(bdmbpersonList.get(i).getYcmzp()!=null&&bdmbpersonList.get(i).getYcmzp().length>0){
bdmbpersonList.get(i).setYcmzpBase64(encoder.encode(bdmbpersonList.get(i).getYcmzp()));
}
}
}
}
String bdynyzw = "";//捺印指纹指位
String bdmbnyzw = "";//捺印指纹指位
modelAndView.setViewName("zwbzgl/xsjsbzxq_rycc");
if(tbXsjszyZwZwbz!=null){
bdmbnyzw = tbXsjszyZwZwbz.getDestseqno();
bdynyzw = tbXsjszyZwZwbz.getSrcseqno();
modelAndView.addObject("bzxx",tbXsjszyZwZwbz);
}
if(bdypersonList.size()>0){
if(bdynyzw!=null&&!"".equals(bdynyzw)){
String imgStr = getZwImagedata("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+bdypersonList.get(0).getBarcode(),bdynyzw);
if(imgStr==null||"".equals(imgStr)){
imgStr = getZwImagedata("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+bdypersonList.get(0).getBarcode(),bdynyzw);
}
bdypersonList.get(0).setRybzzwtpBase64(imgStr);
}
modelAndView.addObject("bdyperson",bdypersonList.get(0));
}
if(bdmbpersonList.size()>0){
if(bdmbnyzw!=null&&!"".equals(bdmbnyzw)){
String imgStr = getZwImagedata("http://65.38.37.118:8081/data/getPSNRollByRybh?rybh="+bdmbpersonList.get(0).getBarcode(),bdmbnyzw);
if(imgStr==null||"".equals(imgStr)){
imgStr = getZwImagedata("http://10.142.16.171:8082/data/getPSNRollByRybh?rybh="+bdmbpersonList.get(0).getBarcode(),bdmbnyzw);
}
bdmbpersonList.get(0).setRybzzwtpBase64(imgStr);
}
modelAndView.addObject("bdmbperson",bdmbpersonList.get(0));
}
return modelAndView;
}
}
......@@ -60,6 +60,11 @@ public class TbXsjszyZwZwbzJbxx implements Serializable {
private String fbzsj; //比中时间开始时间
private String ebzsj; //比中时间结束时间
private String sourcebarcode; //查重源条码
private String bdyxm; //源条码姓名
private String bdyzjhm; //源条码证件号码
private String bdmbxm; //目标条码姓名
private String bdmbzjhm; //目标条码证件号码
private String ajmc; //比中案件名称
public static long getSerialVersionUID() {
return serialVersionUID;
......@@ -448,4 +453,44 @@ public class TbXsjszyZwZwbzJbxx implements Serializable {
public void setSourcebarcode(String sourcebarcode) {
this.sourcebarcode = sourcebarcode;
}
public String getBdyxm() {
return bdyxm;
}
public void setBdyxm(String bdyxm) {
this.bdyxm = bdyxm;
}
public String getBdyzjhm() {
return bdyzjhm;
}
public void setBdyzjhm(String bdyzjhm) {
this.bdyzjhm = bdyzjhm;
}
public String getBdmbxm() {
return bdmbxm;
}
public void setBdmbxm(String bdmbxm) {
this.bdmbxm = bdmbxm;
}
public String getBdmbzjhm() {
return bdmbzjhm;
}
public void setBdmbzjhm(String bdmbzjhm) {
this.bdmbzjhm = bdmbzjhm;
}
public String getAjmc() {
return ajmc;
}
public void setAjmc(String ajmc) {
this.ajmc = ajmc;
}
}
......@@ -5,58 +5,60 @@
<id column="RYBH" property="rybh" jdbcType="VARCHAR"/>
<result column="ASJBH" property="asjbh" jdbcType="VARCHAR"/>
<result column="XM" property="xm" jdbcType="VARCHAR"/>
<result column="XMHYPY" property="xmhypy" jdbcType="VARCHAR"/>
<result column="WWXM" property="wwxm" jdbcType="VARCHAR"/>
<result column="CYM" property="cym" jdbcType="VARCHAR"/>
<result column="BMCH" property="bmch" jdbcType="VARCHAR"/>
<result column="CYZJDM" property="cyzjdm" jdbcType="VARCHAR"/>
<result column="GMSFHM" property="gmsfhm" jdbcType="VARCHAR"/>
<result column="ZJHM" property="zjhm" jdbcType="VARCHAR"/>
<result column="CSRQ_QSRQ" property="csrqQsrq" jdbcType="TIMESTAMP"/>
<result column="CSRQ_JZRQ" property="csrqJzrq" jdbcType="TIMESTAMP"/>
<result column="CSRQ" property="csrqQsrq" jdbcType="TIMESTAMP"/>
<result column="XBDM" property="xbdm" jdbcType="VARCHAR"/>
<result column="GJDM" property="gjdm" jdbcType="VARCHAR"/>
<result column="JGSSXDM" property="jgssxdm" jdbcType="VARCHAR"/>
<result column="MZDM" property="mzdm" jdbcType="VARCHAR"/>
<result column="CSD_XZQHDM" property="csdXzqhdm" jdbcType="VARCHAR"/>
<result column="CSD_DZMC" property="csdDzmc" jdbcType="VARCHAR"/>
<result column="HJDZ_XZQHDM" property="hjdzXzqhdm" jdbcType="VARCHAR"/>
<result column="HJDZ_DZMC" property="hjdzDzmc" jdbcType="VARCHAR"/>
<result column="XZZ_XZQHDM" property="xzzXzqhdm" jdbcType="VARCHAR"/>
<result column="XZZ_DZMC" property="xzzDzmc" jdbcType="VARCHAR"/>
<result column="JWZZ_GJHDQDM" property="jwzzGjhdqdm" jdbcType="VARCHAR"/>
<result column="JWZZ_DZMC" property="jwzzDzmc" jdbcType="VARCHAR"/>
<result column="SGSX" property="sgsx" jdbcType="INTEGER"/>
<result column="SGXX" property="sgxx" jdbcType="INTEGER"/>
<result column="TZSX" property="tzsx" jdbcType="INTEGER"/>
<result column="TZXX" property="tzxx" jdbcType="INTEGER"/>
<result column="CSDXZQH" property="csdXzqhdm" jdbcType="VARCHAR"/>
<result column="CSDXZ" property="csdDzmc" jdbcType="VARCHAR"/>
<result column="HJDXZQH" property="hjdzXzqhdm" jdbcType="VARCHAR"/>
<result column="HJDXZ" property="hjdzDzmc" jdbcType="VARCHAR"/>
<result column="XZDXZQH" property="xzzXzqhdm" jdbcType="VARCHAR"/>
<result column="XZDXZ" property="xzzDzmc" jdbcType="VARCHAR"/>
<result column="LXDH" property="lxdm" jdbcType="VARCHAR"/>
<result column="GRSFDM" property="sarysfdm" jdbcType="VARCHAR"/>
<result column="ZJXYDM" property="zjxydm" jdbcType="VARCHAR"/>
<result column="ZZMMDM" property="zzmmdm" jdbcType="VARCHAR"/>
<result column="XLDM" property="xldm" jdbcType="VARCHAR"/>
<result column="HYZKDM" property="jyzkdm" jdbcType="VARCHAR"/>
<result column="TSSFDM" property="tssfdm" jdbcType="VARCHAR"/>
<result column="WFFZJLMS" property="wffzjlms" jdbcType="VARCHAR"/>
<result column="SG" property="sgsx" jdbcType="INTEGER"/>
<result column="TZ" property="tzsx" jdbcType="INTEGER"/>
<result column="ZC" property="zc" jdbcType="INTEGER"/>
<result column="TMTZMS" property="tmtzms" jdbcType="VARCHAR"/>
<result column="ZHSJ" property="zhsj" jdbcType="TIMESTAMP"/>
<result column="ZHDXZQH" property="zhddqh" jdbcType="VARCHAR"/>
<result column="ZHDXZ" property="zhddxz" jdbcType="VARCHAR"/>
<result column="ZHDWDM" property="zhdwdm" jdbcType="VARCHAR"/>
<result column="DAZT" property="daztdm" jdbcType="VARCHAR"/>
<result column="IP" property="ip" jdbcType="VARCHAR"/>
<result column="TBBJMS" property="tbbjms" jdbcType="VARCHAR"/>
<result column="RQTTZMS" property="rqttzms" jdbcType="VARCHAR"/>
<result column="JGSSXDM" property="jgssxdm" jdbcType="VARCHAR"/>
<result column="FWCS" property="fwcs" jdbcType="VARCHAR"/>
<result column="LXDM" property="lxdm" jdbcType="VARCHAR"/>
<result column="XXDM" property="xxdm" jdbcType="VARCHAR"/>
<result column="ZJXYDM" property="zjxydm" jdbcType="VARCHAR"/>
<result column="ZZMMDM" property="zzmmdm" jdbcType="VARCHAR"/>
<result column="XLDM" property="xldm" jdbcType="VARCHAR"/>
<result column="JYZKDM" property="jyzkdm" jdbcType="VARCHAR"/>
<result column="BYZKDM" property="byzkdm" jdbcType="VARCHAR"/>
<result column="ZYLBDM" property="zylbdm" jdbcType="VARCHAR"/>
<result column="ZYLBDMBCMS" property="zylbdmbcms" jdbcType="VARCHAR"/>
<result column="ZHFSDM" property="zhfsdm" jdbcType="VARCHAR"/>
<result column="ZHFSDMBCMS" property="zhfsdmbcms" jdbcType="VARCHAR"/>
<result column="ZHSJ" property="zhsj" jdbcType="TIMESTAMP"/>
<result column="ZHDDQH" property="zhddqh" jdbcType="VARCHAR"/>
<result column="ZHDDXZ" property="zhddxz" jdbcType="VARCHAR"/>
<result column="ZHDWDM" property="zhdwdm" jdbcType="VARCHAR"/>
<result column="DAZT" property="daztdm" jdbcType="VARCHAR"/>
<result column="XYRDW" property="sadwzydm" jdbcType="VARCHAR"/>
<result column="SARYSFDM" property="sarysfdm" jdbcType="VARCHAR"/>
<result column="SARYSFDMBCMS" property="sarysfdmbcms" jdbcType="VARCHAR"/>
<result column="TSZCDM" property="tszcdm" jdbcType="VARCHAR"/>
<result column="TSZCDMBCMS" property="tszcdmbcms" jdbcType="VARCHAR"/>
<result column="JL" property="jl" jdbcType="VARCHAR"/>
<result column="WFFZJLMS" property="wffzjlms" jdbcType="VARCHAR"/>
<result column="ZWWFCJSM" property="zwwfcjsm" jdbcType="VARCHAR"/>
<result column="WZJYYDM" property="wzjyydm" jdbcType="VARCHAR"/>
<result column="SFSZ" property="sfszryPdbz" jdbcType="VARCHAR"/>
......@@ -101,10 +103,7 @@
<result column="ZJ" property="zj" jdbcType="VARCHAR"/>
<result column="SW" property="sw" jdbcType="VARCHAR"/>
<result column="YHK" property="yhk" jdbcType="VARCHAR"/>
<result column="GMSFHM" property="gmsfhm" jdbcType="VARCHAR"/>
<result column="XMHYPY" property="xmhypy" jdbcType="VARCHAR"/>
<result column="WWXM" property="wwxm" jdbcType="VARCHAR"/>
<result column="TSSFDM" property="tssfdm" jdbcType="VARCHAR"/>
<result column="DNAYBLXDM" property="dnayblxdm" jdbcType="VARCHAR"/>
<result column="ZJLXDM" property="zjlxdm" jdbcType="VARCHAR"/>
<result column="XDHWDM" property="xdhwdm" jdbcType="VARCHAR"/>
......
......@@ -24,11 +24,12 @@
</select>
<!--查询指纹比中信息详情-->
<select id="getCcbzJbxx" parameterType="java.util.Map" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx">
select ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID from AA_MATCHCAND t where
select ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID,srcseqno,destseqno from AA_MATCHCAND t where
1=1
<include refid="queryWhere"/>
</select>
<sql id="queryWhere">
<if test="entity.id != null and entity.id != ''"> AND ID = #{entity.id , jdbcType=VARCHAR } </if>
<if test="entity.srcbarcode != null and entity.srcbarcode != ''"> AND SRCBARCODE = #{entity.srcbarcode , jdbcType=VARCHAR } </if>
<if test="entity.sourcebarcode != null and entity.sourcebarcode != ''"> AND SOURCEBARCODE = #{entity.sourcebarcode , jdbcType=VARCHAR } </if>
<if test="entity.destbarcode != null and entity.destbarcode != ''"> AND DESTBARCODE = #{entity.destbarcode , jdbcType=VARCHAR } </if>
......@@ -46,7 +47,9 @@
<select id="queryZwbzPageList" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx" parameterType="map">
<![CDATA[SELECT t.* FROM (
SELECT a.* , rownum r FROM (]]>
SELECT t.*
SELECT t.*,(select m.name from person m where (t.la_type = 'LA' and m.barcode=t.DESTBARCODE) or (t.la_type = 'AL' and m.barcode=t.SRCBARCODE)) as bdyxm,
(select m.idnumber from person m where (t.la_type = 'LA' and m.barcode=t.DESTBARCODE) or (t.la_type = 'AL' and m.barcode=t.SRCBARCODE)) as bdyzjhm,
(select c.casename from case c where (t.la_type = 'AL' and c.barcode=t.DESTBARCODE) or (t.la_type = 'LA' and c.barcode=t.SRCBARCODE)) as ajmc
from LA_MATCHCAND t where 1=1
<include refid="queryWhere"/>
<![CDATA[ order by ${sort} ${order} ) a
......@@ -63,7 +66,12 @@
<select id="queryCcbzPageList" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx" parameterType="map">
<![CDATA[SELECT t.* FROM (
SELECT a.* , rownum r FROM (]]>
SELECT ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID from AA_MATCHCAND t where 1=1
SELECT ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID,
(select m.name from person m where m.barcode=t.SOURCEBARCODE) as bdyxm,
(select m.idnumber from person m where m.barcode=t.SOURCEBARCODE) as bdyzjhm,
(select m.name from person m where m.barcode=t.DESTBARCODE) as bdmbxm,
(select m.idnumber from person m where m.barcode=t.DESTBARCODE) as bdmbzjhm
from AA_MATCHCAND t where 1=1
<include refid="queryWhere"/>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
......
......@@ -16,4 +16,66 @@
<select id="getXsjsbdxqJbxx" parameterType="java.util.Map" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx">
select t.* from LA_MATCHCAND t where (t.SRCBARCODE= #{xczwbh} and t.DESTBARCODE= #{nyzwbh} and t.LA_TYPE ='LA') or (t.SRCBARCODE= #{nyzwbh} and t.DESTBARCODE= #{xczwbh} and t.LA_TYPE ='AL')
</select>
<!--查询指纹比中信息详情-->
<select id="getZwbzJbxx" parameterType="java.util.Map" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx">
select t.* from LA_MATCHCAND t where
1=1
<include refid="queryWhere"/>
</select>
<!--查询指纹比中信息详情-->
<select id="getCcbzJbxx" parameterType="java.util.Map" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx">
select ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID,srcseqno,destseqno from AA_MATCHCAND t where
1=1
<include refid="queryWhere"/>
</select>
<sql id="queryWhere">
<if test="entity.id != null and entity.id != ''"> AND ID = #{entity.id , jdbcType=VARCHAR } </if>
<if test="entity.srcbarcode != null and entity.srcbarcode != ''"> AND SRCBARCODE = #{entity.srcbarcode , jdbcType=VARCHAR } </if>
<if test="entity.sourcebarcode != null and entity.sourcebarcode != ''"> AND SOURCEBARCODE = #{entity.sourcebarcode , jdbcType=VARCHAR } </if>
<if test="entity.destbarcode != null and entity.destbarcode != ''"> AND DESTBARCODE = #{entity.destbarcode , jdbcType=VARCHAR } </if>
<if test="entity.affirmunitcode != null and entity.affirmunitcode != ''"> AND AFFIRMUNITCODE = #{entity.affirmunitcode , jdbcType=VARCHAR } </if>
<if test="entity.la_type != null and entity.la_type != ''"> AND LA_TYPE = #{entity.la_type , jdbcType=VARCHAR } </if>
<if test="entity.fbzsj != null and entity.fbzsj != ''"> AND AFFIRMTIME <![CDATA[>=]]> to_date(#{entity.fbzsj , jdbcType=VARCHAR },'yyyy-mm-dd') </if>
<if test="entity.ebzsj != null and entity.ebzsj != ''"> AND AFFIRMTIME <![CDATA[<]]> to_date(#{entity.ebzsj , jdbcType=VARCHAR },'yyyy-mm-dd')+1 </if>
</sql>
<select id="queryZwbzPageCount" resultType="int" parameterType="map">
select count(1) from LA_MATCHCAND where
1=1
<include refid="queryWhere"/>
</select>
<select id="queryZwbzPageList" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx" parameterType="map">
<![CDATA[SELECT t.* FROM (
SELECT a.* , rownum r FROM (]]>
SELECT t.*,(select m.name from person m where (t.la_type = 'LA' and m.barcode=t.DESTBARCODE) or (t.la_type = 'AL' and m.barcode=t.SRCBARCODE)) as bdyxm,
(select m.idnumber from person m where (t.la_type = 'LA' and m.barcode=t.DESTBARCODE) or (t.la_type = 'AL' and m.barcode=t.SRCBARCODE)) as bdyzjhm,
(select c.casename from case c where (t.la_type = 'AL' and c.barcode=t.DESTBARCODE) or (t.la_type = 'LA' and c.barcode=t.SRCBARCODE)) as ajmc
from LA_MATCHCAND t where 1=1
<include refid="queryWhere"/>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
WHERE r > #{ begin } ]]>
</select>
<select id="queryCcbzPageCount" resultType="int" parameterType="map">
select count(1) from AA_MATCHCAND t where
1=1
<include refid="queryWhere"/>
</select>
<select id="queryCcbzPageList" resultType="com.founder.model.amsis.TbXsjszyZwZwbzJbxx" parameterType="map">
<![CDATA[SELECT t.* FROM (
SELECT a.* , rownum r FROM (]]>
SELECT ID,SOURCEBARCODE,DESTBARCODE,AFFIRMUNITCODE,AFFIRMTIME,AFFIRMUSERID,
(select m.name from person m where m.barcode=t.SOURCEBARCODE) as bdyxm,
(select m.idnumber from person m where m.barcode=t.SOURCEBARCODE) as bdyzjhm,
(select m.name from person m where m.barcode=t.DESTBARCODE) as bdmbxm,
(select m.idnumber from person m where m.barcode=t.DESTBARCODE) as bdmbzjhm
from AA_MATCHCAND t where 1=1
<include refid="queryWhere"/>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
WHERE r > #{ begin } ]]>
</select>
</mapper>
\ No newline at end of file
......@@ -44,7 +44,7 @@
<!--标题-->
<div class="login-header" style="margin-top:50px;">
<h2><img /><img src="static/xtba/login/images/index-login.png" style="margin-left:80px;"/><img /></h2>
<h2><img /><img src="static/xtba/login/images/hunan.png" style="margin-left:80px;"/><img /></h2>
</div>
<!--content-->
<div class="wrap-content">
......@@ -239,6 +239,11 @@
<script type="text/javascript" src="static/xtba/login/js/goods.js" ></script>
<script type="text/javascript" src="static/xtba/login/js/swiper.animate.min.js" ></script>
<script>
window.onload = function () {
setInterval(function () {
window.location.reload()
},180000)
}
$(function(){
getHeight();
$(window).resize(function(){
......
......@@ -12,7 +12,7 @@
<body>
<!--标题-->
<div class="login-header">
<h2><img src="static/xtba/login/images/login-title-bg-l.png"/><img src="static/xtba/login/images/index-login.png" style="margin-left:80px;"/><img src="static/xtba/login/images/login-title-bg-r.png"/></h2>
<h2><img src="/static/xtba/login/images/login-title-bg-l.png"/><img src="static/xtba/login/images/hunan.png" style="margin-left:80px;"/><img src="static/xtba/login/images/login-title-bg-r.png"/></h2>
</div>
<!--content-->
<div class="wrap-content">
......
<!DOCTYPE html>
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
......@@ -1423,7 +1423,7 @@
};
ws.onclose = function(e) {
//意外中断,再连接
if (e.code == '1006' || e.code == '1002') {
if (e.code == '1002') {
tozjcj();
}
}
......@@ -1442,7 +1442,7 @@
$("#zjrightflag").val("0");
}
ws.close();
return;
alert( "采集完成!");
}else if (data.Code < 0) {//采集发生错误
ws.close();
return;
......
......@@ -27,7 +27,7 @@
<!-- <script type="text/javascript" src="easyui-window/js/jquery.easyui.min.js"></script>-->
<script type="text/javascript" src="static/easyui-window/js/function.js"></script>
</head>
<body onload="pop();">
<body >
<div id="nipic_search">
<div id="header">
<h5 class="h_title_rycx" style="background: url(static/xtba/ythcj/img/ryxxcx.png);width:400px;"></h5>
......@@ -283,6 +283,15 @@
<!--<script type="text/javascript" src="static/ajgl/js/jquery.easyui.min.js"></script>-->
<script type="text/javascript" src="static/xtba/zljc/js/zljc.js"></script>
<script type="text/javascript">
var numcot = 1;
window.onload = function () {
pop();
setInterval(function () {
console.log("=====页面第 "+numcot+" 次自动刷新!=====");
numcot++;
doQuery();
},180000)
}
openCombotree('hjdzXzqhdm');
openCombotree('lrdwdw');
$(function(){
......
......@@ -268,6 +268,14 @@
<script type="text/javascript" src="static/xtba/zljc/js/qlayertips.js"></script>
<script src="static/xtba/zljc/layer/layer.js"></script>
<script type="text/javascript">
var numcot = 1;
window.onload = function () {
setInterval(function () {
console.log("=====页面第 "+numcot+" 次自动刷新!=====");
numcot++;
doQuery();
},180000)
}
openCombotree('RCjdw');
$(function(){
$("#Table").datagrid({
......
......@@ -137,16 +137,42 @@
}
});
var table_title = [
{title:"源条码",field:"srcbarcode",align:'center',width:180,formatter:function(val,row,index){
{title:"现场指纹编号",field:"srcbarcode",align:'center',width:150,formatter:function(val,row,index){
var srcbarcode=row.srcbarcode;
return srcbarcode;
var destbarcode=row.destbarcode;
var la_type=row.la_type;
var xczwbh = "";
var nyzwbh = "";
if(la_type=="LA"){
xczwbh = srcbarcode;
nyzwbh = destbarcode;
}else{
xczwbh = destbarcode;
nyzwbh = srcbarcode;
}
return "<span style='cursor:pointer;' title='" + xczwbh + "' onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\">" + xczwbh + "</span>";
}},
{title:"目标条码",field:"destbarcode",align:'center',width:180,formatter:function(val,row,index){
{title:"案件名称",field:"ajmc",align:'center',width:200},
{title:"捺印指纹编号",field:"destbarcode",align:'center',width:150,formatter:function(val,row,index){
var destbarcode=row.destbarcode;
return destbarcode;
var srcbarcode=row.srcbarcode;
var la_type=row.la_type;
var xczwbh = "";
var nyzwbh = "";
if(la_type=="LA"){
xczwbh = srcbarcode;
nyzwbh = destbarcode;
}else{
xczwbh = destbarcode;
nyzwbh = srcbarcode;
}
return "<span style='cursor:pointer;' title='" + nyzwbh + "' onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\">" + nyzwbh + "</span>";
}},
{title:"比中类型",field:"la_type",align:'center',width:100,formatter:function(val,row,index){
{title:"姓名",field:"bdyxm",align:'center',width:120},
{title:"证件号码",field:"bdyzjhm",align:'center',width:140},
{title:"比中类型",field:"la_type",align:'center',width:80,formatter:function(val,row,index){
var la_type=row.la_type;
var rstStr = "";
if(la_type=="LA"){
rstStr = "正查";
}else{
......@@ -154,11 +180,11 @@
}
return rstStr;
}},
{title:"比中时间",field:"affirmtime",align:'center',width:150,formatter:function(val,row,index){
{title:"比中时间",field:"affirmtime",align:'center',width:130,formatter:function(val,row,index){
var affirmtime=row.affirmtime;
return affirmtime;
}},
{title:"比中单位",field:"affirmunitcode",align:'center',width:250,formatter:function(val,row,index){
{title:"比中单位",field:"affirmunitcode",align:'center',width:200,formatter:function(val,row,index){
var affirmunitcode=row.affirmunitcode;
var affirmunitname="";
affirmunitname=codeFormatter(affirmunitcode,"CODE_UNIT");
......@@ -227,6 +253,9 @@
return codeName;
}
function toXsjsDetail(nyzwbh, xczwbh) {
window.open("/getXsjsbdxq?nyzwbh=" +nyzwbh+"&xczwbh="+xczwbh);
}
</script>
</body>
......
......@@ -131,14 +131,20 @@
}
});
var table_title = [
{title:"源条码",field:"sourcebarcode",align:'center',width:180,formatter:function(val,row,index){
{title:"源条码",field:"sourcebarcode",align:'center',width:150,formatter:function(val,row,index){
var sourcebarcode=row.sourcebarcode;
return sourcebarcode;
var destbarcode=row.destbarcode;
var id=row.id;
return "<span style='cursor:pointer;' onclick=\"toXsjsRyccDetail(\'" + id + "\',\'"+sourcebarcode+"\',\'"+destbarcode+"\')\">" + sourcebarcode + "</span>";
}},
{title:"目标条码",field:"destbarcode",align:'center',width:180,formatter:function(val,row,index){
{title:"目标条码",field:"destbarcode",align:'center',width:150,formatter:function(val,row,index){
var sourcebarcode=row.sourcebarcode;
var destbarcode=row.destbarcode;
return destbarcode;
var id=row.id;
return "<span style='cursor:pointer;' onclick=\"toXsjsRyccDetail(\'" + id + "\',\'"+sourcebarcode+"\',\'"+destbarcode+"\')\">" + destbarcode + "</span>";
}},
{title:"姓名",field:"bdyxm",align:'center',width:120},
{title:"证件号码",field:"bdyzjhm",align:'center',width:150},
{title:"比中类型",field:"affirmuserid",align:'center',width:100,formatter:function(val,row,index){
return "查重";
}},
......@@ -146,7 +152,7 @@
var affirmtime=row.affirmtime;
return affirmtime;
}},
{title:"比中单位",field:"affirmunitcode",align:'center',width:250,formatter:function(val,row,index){
{title:"比中单位",field:"affirmunitcode",align:'center',width:200,formatter:function(val,row,index){
var affirmunitcode=row.affirmunitcode;
var affirmunitname="";
affirmunitname=codeFormatter(affirmunitcode,"CODE_UNIT");
......@@ -215,6 +221,9 @@
return codeName;
}
function toXsjsRyccDetail(id,bdynyzwbh,bdmbnyzwbh) {
window.open("/getXsjsbdxxByRycc?xxzjbh="+id+"&bdynyzwbh=" +bdynyzwbh+"&bdmbnyzwbh="+bdmbnyzwbh);
}
</script>
</body>
......
<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>人员指纹比对信息</title>
<link rel="icon" href="/static/zwbdxq/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/static/zwbdxq/css/base_initialize.css">
<link rel="stylesheet" href="/static/zwbdxq/easyui-window/css/easyui.css">
<link rel="stylesheet" href="/static/zwbdxq/css/hbxq.css">
<link rel="stylesheet" href="/static/zwbdxq/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/zwbdxq/css/animate.min.css">
<link rel="stylesheet" href="/static/zwbdxq/layer/skin/default/layer.css">
<link rel="stylesheet" href="/static/zwbdxq/css/zlxq.css">
<style type="text/css">
.no-data-img{height:100px;margin:10px auto;}
</style>
</head>
<body style="overflow:auto;">
<article class="wrap w">
<div class="head clearfix">
<div class="zwbzxq_message" >
<div style="width: 500px;height: 50px;padding-top: 14px;">
<span style="color: #ffffff;font-size: 31px;margin-left: 24px;padding-top: 18px;font-weight: bold;">指纹比中详情(正倒查)</span>
</div>
</div>
</div>
</div>
<div class="content_wrap">
<div class="con-ggh">
<legend>人员基本信息</legend>
<input type="hidden" name="sex" id="sexstr" th:value="${person.sex}"/>
<input type="hidden" name="nationality" id="nationalitystr" th:value="${person.nationality}"/>
<input type="hidden" name="nation" id="nationstr" th:value="${person.nation}"/>
<input type="hidden" name="birthaddcode" id="birthaddcodestr" th:value="${person.birthaddcode}"/>
<input type="hidden" name="politicsstatus" id="politicsstatusstr" th:value="${person.politicsstatus}"/>
<input type="hidden" name="deucation" id="deucationstr" th:value="${person.deucation}"/>
<input type="hidden" name="houseregcode" id="houseregcodestr" th:value="${person.houseregcode}"/>
<input type="hidden" name="addresscode" id="addresscodestr" th:value="${person.addresscode}"/>
<input type="hidden" name="casetype1" id="casetype1str" th:value="${casexx.casetype1}"/>
<input type="hidden" name="srcseqno" id="srcseqnostr" th:value="${bzxx.srcseqno}"/>
<input type="hidden" name="destseqno" id="destseqnostr" th:value="${bzxx.destseqno}"/>
<input type="hidden" name="bzlx" id="bzlxstr" th:value="${bzxx.la_type}"/>
<input type="hidden" name="occurplacecode" id="occurplacecodestr" th:value="${casexx.occurplacecode}"/>
<input type="hidden" name="zmzpBase64" id="zmzpBase64" th:value="${person.zmzpBase64}"/>
<input type="hidden" name="affirmunitcode" id="affirmunitcodestr" th:value="${bzxx.affirmunitcode}"/>
<input type="hidden" name="rybzzwtpBase64" id="rybzzwtpBase64" th:value="${person.rybzzwtpBase64}"/>
<input type="hidden" name="ajbzzwtpBase64" id="ajbzzwtpBase64" th:value="${casexx.ajbzzwtpBase64}"/>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_c" style="width:30%;" colspan="2" rowspan="6" >
<img id="imghead1" name="imghead1" src="static/zwbdxq/img/Personface.jpg" style="height:168px;">
</td>
<td class="td_r" style="width:10%;">捺印指纹编号</td>
<td class="td_bg" style="width:20%;" th:text="${person.barcode}" onclick="toXsjsDetail('${person.barcode}')" href="#" title="查看指纹采集详情"></td>
<td class="td_r" style="width:10%;">人员编号:</td>
<td class="td_bg" style="width:20%;" th:text="${person.barcode}" onclick="toXsjsDetail('${person.barcode}')" href="#" title="查看指纹采集详情"></td>
</tr>
<tr>
<td class="td_r">姓名:</td>
<td class="td_bg" th:text="${person.name}"></td>
<td class="td_r">别名:</td>
<td class="td_bg" th:text="${person.aliasname}"></td>
</tr>
<tr>
<td class="td_r">证件类型:</td>
<td class="td_bg">居民身份证</td>
<td class="td_r">证件号码:</td>
<td class="td_bg" th:text="${person.idnumber}"></td>
</tr>
<tr>
<td class="td_r">性别:</td>
<td class="td_bg" id="sex"></td>
<td class="td_r">出生日期:</td>
<td class="td_bg" th:text="${person.birthdate}"></td>
</tr>
<tr>
<td class="td_r">国籍:</td>
<td class="td_bg" id="nationality"></td>
<td class="td_r">民族:</td>
<td class="td_bg" id="nation"></td>
</tr>
<tr>
<td class="td_r">籍贯:</td>
<td class="td_bg" id="birthaddcode"></td>
<td class="td_r">政治面貌:</td>
<td class="td_bg" id="politicsstatus"></td>
</tr>
<tr>
<td class="td_r">学历:</td>
<td class="td_bg" id="deucation"></td>
<td class="td_r">职业:</td>
<td class="td_bg" th:text="${person.profession}"></td>
<td class="td_r">工作单位:</td>
<td class="td_bg" th:text="${person.workunit}"></td>
</tr>
<tr>
<td class="td_r">户籍地区划:</td>
<td class="td_bg" id="houseregcode"></td>
<td class="td_r">户籍地详址:</td>
<td class="td_bg" th:text="${person.housereg}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">现住址区划:</td>
<td class="td_bg" id="addresscode"></td>
<td class="td_r">现住址详址:</td>
<td class="td_bg" th:text="${person.address}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">捺印单位:</td>
<td class="td_bg" th:text="${person.collectunitname}"></td>
<td class="td_r">捺印人:</td>
<td class="td_bg" th:text="${person.collectpsn}"></td>
<td class="td_r">捺印时间:</td>
<td class="td_bg" th:text="${person.collectdate}"></td>
</tr>
</table>
</div>
<div class="con-ggh">
<legend>案件基本信息</legend>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_r" style="width:10%;">现场指纹编号:</td>
<td class="td_bg" style="width:20%;" th:text="${casexx.barcode}"></td>
<td class="td_r" style="width:10%;">案件编号:</td>
<td class="td_bg" style="width:20%;" th:text="${casexx.asjbh}"></td>
<td class="td_r" style="width:10%;">案件名称:</td>
<td class="td_bg" style="width:20%;" th:text="${casexx.casename}"></td>
</tr>
<tr>
<td class="td_r">现勘编号:</td>
<td class="td_bg" th:text="${casexx.kybh}"></td>
<td class="td_r">案件类别:</td>
<td class="td_bg"id="casetype1"></td>
<td class="td_r">发案日期:</td>
<td class="td_bg" th:text="${casexx.occurdate}"></td>
</tr>
<tr>
<td class="td_r">发案地区划:</td>
<td class="td_bg" id="occurplacecode"></td>
<td class="td_r">发案地详址:</td>
<td class="td_bg" th:text="${casexx.occurplace}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">简要案情:</td>
<td class="td_bg" th:text="${casexx.briefdesc}" colspan="5"></td>
</tr>
<tr>
<td class="td_r">提取单位:</td>
<td class="td_bg" th:text="${casexx.collectunitname}"></td>
<td class="td_r">提取人:</td>
<td class="td_bg" th:text="${casexx.collectpsn}"></td>
<td class="td_r">提取时间:</td>
<td class="td_bg" th:text="${casexx.collectdate}"></td>
</tr>
</table>
</div>
<div class="con-ggh">
<legend>比中信息</legend>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_r" style="width:10%;">比中单位:</td>
<td class="td_bg" style="width:20%;" id="affirmunitcode"></td>
<td class="td_r" style="width:10%;">比中人:</td>
<td class="td_bg" style="width:20%;" th:text="${bzxx.affirmuserid}"></td>
<td class="td_r" style="width:10%;">比中时间:</td>
<td class="td_bg" style="width:20%;" th:text="${bzxx.affirmtime}"></td>
</tr>
<tr>
<td class="td_r">比中类型:</td>
<td class="td_bg" id="bzlx">正查</td>
<td class="td_r">现场指纹序号:</td>
<td class="td_bg" id="srcseqno"></td>
<td class="td_r">捺印指纹指位:</td>
<td class="td_bg" id="destseqno"></td>
</tr>
<tr>
<td class="td_r" colspan="3" style="text-align: center">
现场指纹图片
</td>
<td class="td_r"colspan="3" style="text-align: center">
捺印指纹图片
</td>
</tr>
<tr>
<td class="td_c" colspan="3" rowspan="10" >
<img id="imghead2" name="imghead2" src="static/zwbdxq/img/no_data.jpg" style="width:500px;height:500px;float: left;margin-left: 50px;">
</td>
<td class="td_c" colspan="3" rowspan="10" >
<img id="imghead3" name="imghead3" src="static/zwbdxq/img/no_data.jpg" style="width:500px;height:500px;float: right;margin-right: 50px;">
</td>
</tr>
</table>
</div>
</div>
</article>
<script src="/static/zwbdxq/js/jquery.min.js" type="text/javascript"></script>
<script src="/static/zwbdxq/js/hbxq.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/zwbdxq/layer/layer.js"></script>
<script src="/static/zwbdxq/js/zlxq.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/function.js"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function(){
$("#sex").text(codeFormatter($("#sexstr").val(),"CODE_XB"));
$("#nationality").text(codeFormatter($("#nationalitystr").val(),"CODE_GJ"));
$("#nation").text(codeFormatter($("#nationstr").val(),"CODE_MZ"));
$("#birthaddcode").text(codeFormatter($("#birthaddcodestr").val(),"CODE_XZQH"));
$("#politicsstatus").text(codeFormatter($("#politicsstatusstr").val(),"CODE_ZZMM"));
$("#deucation").text(codeFormatter($("#deucationstr").val(),"CODE_WHCD"));
$("#houseregcode").text(codeFormatter($("#houseregcodestr").val(),"CODE_XZQH"));
$("#addresscode").text(codeFormatter($("#addresscodestr").val(),"CODE_XZQH"));
$("#casetype1").text(codeFormatter($("#casetype1str").val(),"CODE_AJLB"));
var bzlx = $("#bzlxstr").val();
if(bzlx=="LA"){
$("#bzlx").text("正查");
$("#srcseqno").text($("#srcseqnostr").val());
$("#destseqno").text($("#destseqnostr").val());
}else{
$("#bzlx").text("倒查");
$("#srcseqno").text($("#destseqnostr").val());
$("#destseqno").text($("#srcseqnostr").val());
}
$("#occurplacecode").text(codeFormatter($("#occurplacecodestr").val(),"CODE_XZQH"));
$("#affirmunitcode").text(codeFormatter($("#affirmunitcodestr").val(),"CODE_UNIT"));
var zmzpBase64 = $("#zmzpBase64").val();
if(zmzpBase64!=null&&zmzpBase64!=""){
$("#imghead1").attr("src","data:image/jpg;base64,"+zmzpBase64);
}
var rybzzwtpBase64 = $("#rybzzwtpBase64").val();
if(rybzzwtpBase64!=null&&rybzzwtpBase64!=""){
$("#imghead3").attr("src","data:image/jpg;base64,"+rybzzwtpBase64);
}
var ajbzzwtpBase64 = $("#ajbzzwtpBase64").val();
if(ajbzzwtpBase64!=null&&ajbzzwtpBase64!=""){
$("#imghead2").attr("src","data:image/jpg;base64,"+ajbzzwtpBase64);
}
})
//格式化字典
function codeFormatter(val,type){
var codeName="";
$.ajax({
url:"/queryNameByCode",
data:{"codeId":val,"codeType":type},
async:false,
type:"post",
dataType:"text",
success:function(data){
codeName=data;
},
error:function(e){
console.log("error="+JSON.stringify(e));
}
});
return codeName;
}
</script>
</body>
</html>
\ No newline at end of file
<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>人员指纹比对信息</title>
<link rel="icon" href="/static/zwbdxq/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/static/zwbdxq/css/base_initialize.css">
<link rel="stylesheet" href="/static/zwbdxq/easyui-window/css/easyui.css">
<link rel="stylesheet" href="/static/zwbdxq/css/hbxq.css">
<link rel="stylesheet" href="/static/zwbdxq/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/zwbdxq/css/animate.min.css">
<link rel="stylesheet" href="/static/zwbdxq/layer/skin/default/layer.css">
<link rel="stylesheet" href="/static/zwbdxq/css/zlxq.css">
<style type="text/css">
.no-data-img{height:100px;margin:10px auto;}
</style>
</head>
<body style="overflow:auto;">
<article class="wrap w">
<div class="head clearfix">
<div class="zwbzxq_message" >
<div style="width: 500px;height: 50px;padding-top: 14px;">
<span style="color: #ffffff;font-size: 31px;margin-left: 24px;padding-top: 18px;font-weight: bold;">指纹比中详情(查重)</span>
</div>
</div>
</div>
</div>
<div class="content_wrap">
<div class="con-ggh">
<legend>人员基本信息(比对源)</legend>
<input type="hidden" name="bdysex" id="bdysexstr" th:value="${bdyperson.sex}"/>
<input type="hidden" name="bdynationality" id="bdynationalitystr" th:value="${bdyperson.nationality}"/>
<input type="hidden" name="bdynation" id="bdynationstr" th:value="${bdyperson.nation}"/>
<input type="hidden" name="bdybirthaddcode" id="bdybirthaddcodestr" th:value="${bdyperson.birthaddcode}"/>
<input type="hidden" name="bdypoliticsstatus" id="bdypoliticsstatusstr" th:value="${bdyperson.politicsstatus}"/>
<input type="hidden" name="bdydeucation" id="bdydeucationstr" th:value="${bdyperson.deucation}"/>
<input type="hidden" name="bdyhouseregcode" id="bdyhouseregcodestr" th:value="${bdyperson.houseregcode}"/>
<input type="hidden" name="bdyaddresscode" id="bdyaddresscodestr" th:value="${bdyperson.addresscode}"/>
<input type="hidden" name="bdyzmzpBase64" id="bdyzmzpBase64" th:value="${bdyperson.zmzpBase64}"/>
<input type="hidden" name="bdyrybzzwtpBase64" id="bdyrybzzwtpBase64" th:value="${bdyperson.rybzzwtpBase64}"/>
<input type="hidden" name="affirmunitcode" id="affirmunitcodestr" th:value="${bzxx.affirmunitcode}"/>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_c" style="width:30%;" colspan="2" rowspan="6" >
<img id="imghead0" name="imghead0" src="static/zwbdxq/img/Personface.jpg" style="height:168px;">
</td>
<td class="td_r" style="width:10%;">捺印指纹编号</td>
<td class="td_bg" style="width:20%;" th:text="${bdyperson.barcode}" onclick="toXsjsDetail('${bdyperson.barcode}')" href="#" title="查看指纹采集详情"></td>
<td class="td_r" style="width:10%;">人员编号:</td>
<td class="td_bg" style="width:20%;" th:text="${bdyperson.barcode}" onclick="toXsjsDetail('${bdyperson.barcode}')" href="#" title="查看指纹采集详情"></td>
</tr>
<tr>
<td class="td_r">姓名:</td>
<td class="td_bg" th:text="${bdyperson.name}"></td>
<td class="td_r">别名:</td>
<td class="td_bg" th:text="${bdyperson.aliasname}"></td>
</tr>
<tr>
<td class="td_r">证件类型:</td>
<td class="td_bg">居民身份证</td>
<td class="td_r">证件号码:</td>
<td class="td_bg" th:text="${bdyperson.idnumber}"></td>
</tr>
<tr>
<td class="td_r">性别:</td>
<td class="td_bg" id="bdysex"></td>
<td class="td_r">出生日期:</td>
<td class="td_bg" th:text="${bdyperson.birthdate}"></td>
</tr>
<tr>
<td class="td_r">国籍:</td>
<td class="td_bg" id="bdynationality"></td>
<td class="td_r">民族:</td>
<td class="td_bg" id="bdynation"></td>
</tr>
<tr>
<td class="td_r">籍贯:</td>
<td class="td_bg" id="bdybirthaddcode"></td>
<td class="td_r">政治面貌:</td>
<td class="td_bg" id="bdypoliticsstatus"></td>
</tr>
<tr>
<td class="td_r">学历:</td>
<td class="td_bg" id="bdydeucation"></td>
<td class="td_r">职业:</td>
<td class="td_bg" th:text="${bdyperson.profession}"></td>
<td class="td_r">工作单位:</td>
<td class="td_bg" th:text="${bdyperson.workunit}"></td>
</tr>
<tr>
<td class="td_r">户籍地区划:</td>
<td class="td_bg" id="bdyhouseregcode"></td>
<td class="td_r">户籍地详址:</td>
<td class="td_bg" th:text="${bdyperson.housereg}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">现住址区划:</td>
<td class="td_bg" id="bdyaddresscode"></td>
<td class="td_r">现住址详址:</td>
<td class="td_bg" th:text="${bdyperson.address}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">捺印单位:</td>
<td class="td_bg" th:text="${bdyperson.collectunitname}"></td>
<td class="td_r">捺印人:</td>
<td class="td_bg" th:text="${bdyperson.collectpsn}"></td>
<td class="td_r">捺印时间:</td>
<td class="td_bg" th:text="${bdyperson.collectdate}"></td>
</tr>
</table>
</div>
<div class="con-ggh">
<legend>人员基本信息(比对目标)</legend>
<input type="hidden" name="bdmbsex" id="bdmbsexstr" th:value="${bdmbperson.sex}"/>
<input type="hidden" name="bdmbnationality" id="bdmbnationalitystr" th:value="${bdmbperson.nationality}"/>
<input type="hidden" name="bdmbnation" id="bdmbnationstr" th:value="${bdmbperson.nation}"/>
<input type="hidden" name="bdmbbirthaddcode" id="bdmbbirthaddcodestr" th:value="${bdmbperson.birthaddcode}"/>
<input type="hidden" name="bdmbpoliticsstatus" id="bdmbpoliticsstatusstr" th:value="${bdmbperson.politicsstatus}"/>
<input type="hidden" name="bdmbdeucation" id="bdmbdeucationstr" th:value="${bdmbperson.deucation}"/>
<input type="hidden" name="bdmbhouseregcode" id="bdmbhouseregcodestr" th:value="${bdmbperson.houseregcode}"/>
<input type="hidden" name="bdmbaddresscode" id="bdmbaddresscodestr" th:value="${bdmbperson.addresscode}"/>
<input type="hidden" name="bdmbzmzpBase64" id="bdmbzmzpBase64" th:value="${bdmbperson.zmzpBase64}"/>
<input type="hidden" name="bdmbrybzzwtpBase64" id="bdmbrybzzwtpBase64" th:value="${bdmbperson.rybzzwtpBase64}"/>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_c" style="width:30%;" colspan="2" rowspan="6" >
<img id="imghead1" name="imghead1" src="static/zwbdxq/img/Personface.jpg" style="height:168px;">
</td>
<td class="td_r" style="width:10%;">捺印指纹编号</td>
<td class="td_bg" style="width:20%;" th:text="${bdmbperson.barcode}" onclick="toXsjsDetail('${bdmbperson.barcode}')" href="#" title="查看指纹采集详情"></td>
<td class="td_r" style="width:10%;">人员编号:</td>
<td class="td_bg" style="width:20%;" th:text="${bdmbperson.barcode}" onclick="toXsjsDetail('${bdmbperson.barcode}')" href="#" title="查看指纹采集详情"></td>
</tr>
<tr>
<td class="td_r">姓名:</td>
<td class="td_bg" th:text="${bdmbperson.name}"></td>
<td class="td_r">别名:</td>
<td class="td_bg" th:text="${bdmbperson.aliasname}"></td>
</tr>
<tr>
<td class="td_r">证件类型:</td>
<td class="td_bg">居民身份证</td>
<td class="td_r">证件号码:</td>
<td class="td_bg" th:text="${bdmbperson.idnumber}"></td>
</tr>
<tr>
<td class="td_r">性别:</td>
<td class="td_bg" id="bdmbsex"></td>
<td class="td_r">出生日期:</td>
<td class="td_bg" th:text="${bdmbperson.birthdate}"></td>
</tr>
<tr>
<td class="td_r">国籍:</td>
<td class="td_bg" id="bdmbnationality"></td>
<td class="td_r">民族:</td>
<td class="td_bg" id="bdmbnation"></td>
</tr>
<tr>
<td class="td_r">籍贯:</td>
<td class="td_bg" id="bdmbbirthaddcode"></td>
<td class="td_r">政治面貌:</td>
<td class="td_bg" id="bdmbpoliticsstatus"></td>
</tr>
<tr>
<td class="td_r">学历:</td>
<td class="td_bg" id="bdmbdeucation"></td>
<td class="td_r">职业:</td>
<td class="td_bg" th:text="${bdmbperson.profession}"></td>
<td class="td_r">工作单位:</td>
<td class="td_bg" th:text="${bdmbperson.workunit}"></td>
</tr>
<tr>
<td class="td_r">户籍地区划:</td>
<td class="td_bg" id="bdmbhouseregcode"></td>
<td class="td_r">户籍地详址:</td>
<td class="td_bg" th:text="${bdmbperson.housereg}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">现住址区划:</td>
<td class="td_bg" id="bdmbaddresscode"></td>
<td class="td_r">现住址详址:</td>
<td class="td_bg" th:text="${bdmbperson.address}" colspan="3"></td>
</tr>
<tr>
<td class="td_r">捺印单位:</td>
<td class="td_bg" th:text="${bdmbperson.collectunitname}"></td>
<td class="td_r">捺印人:</td>
<td class="td_bg" th:text="${bdmbperson.collectpsn}"></td>
<td class="td_r">捺印时间:</td>
<td class="td_bg" th:text="${bdmbperson.collectdate}"></td>
</tr>
</table>
</div>
<div class="con-ggh">
<legend>比中信息</legend>
<table style="width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;" class="hb-content">
<tr>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
<td class="td_r" style="width:10%;"></td>
<td class="td_bg" style="width:20%;"></td>
</tr>
<tr>
<td class="td_r" style="width:10%;">比中单位:</td>
<td class="td_bg" style="width:20%;" id="affirmunitcode"></td>
<td class="td_r" style="width:10%;">比中人:</td>
<td class="td_bg" style="width:20%;" th:text="${bzxx.affirmuserid}"></td>
<td class="td_r" style="width:10%;">比中时间:</td>
<td class="td_bg" style="width:20%;" th:text="${bzxx.affirmtime}"></td>
</tr>
<tr>
<td class="td_r">比中类型:</td>
<td class="td_bg" id="bzlx">查重</td>
<td class="td_r">源指位:</td>
<td class="td_bg" th:text="${bzxx.srcseqno}"></td>
<td class="td_r">目标指位:</td>
<td class="td_bg" th:text="${bzxx.destseqno}"></td>
</tr>
<tr>
<td class="td_r" colspan="3" style="text-align: center">
比对源指纹图片
</td>
<td class="td_r"colspan="3" style="text-align: center">
比对目标指纹图片
</td>
</tr>
<tr>
<td class="td_c" colspan="3" rowspan="10" >
<img id="imghead2" name="imghead2" src="static/zwbdxq/img/no_data.jpg" style="width:500px;height:500px;float: left;margin-left: 50px;">
</td>
<td class="td_c" colspan="3" rowspan="10" >
<img id="imghead3" name="imghead3" src="static/zwbdxq/img/no_data.jpg" style="width:500px;height:500px;float: right;margin-right: 50px;">
</td>
</tr>
</table>
</div>
</div>
</article>
<script src="/static/zwbdxq/js/jquery.min.js" type="text/javascript"></script>
<script src="/static/zwbdxq/js/hbxq.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/zwbdxq/layer/layer.js"></script>
<script src="/static/zwbdxq/js/zlxq.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/function.js"></script>
<script type="text/javascript" src="/static/zwbdxq/easyui-window/js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function(){
$("#bdysex").text(codeFormatter($("#bdysexstr").val(),"CODE_XB"));
$("#bdynationality").text(codeFormatter($("#bdynationalitystr").val(),"CODE_GJ"));
$("#bdynation").text(codeFormatter($("#bdynationstr").val(),"CODE_MZ"));
$("#bdybirthaddcode").text(codeFormatter($("#bdybirthaddcodestr").val(),"CODE_XZQH"));
$("#bdypoliticsstatus").text(codeFormatter($("#bdypoliticsstatusstr").val(),"CODE_ZZMM"));
$("#bdydeucation").text(codeFormatter($("#bdydeucationstr").val(),"CODE_WHCD"));
$("#bdyhouseregcode").text(codeFormatter($("#bdyhouseregcodestr").val(),"CODE_XZQH"));
$("#bdyaddresscode").text(codeFormatter($("#bdyaddresscodestr").val(),"CODE_XZQH"));
$("#bdmbsex").text(codeFormatter($("#bdmbsexstr").val(),"CODE_XB"));
$("#bdmbnationality").text(codeFormatter($("#bdmbnationalitystr").val(),"CODE_GJ"));
$("#bdmbnation").text(codeFormatter($("#bdmbnationstr").val(),"CODE_MZ"));
$("#bdmbbirthaddcode").text(codeFormatter($("#bdmbbirthaddcodestr").val(),"CODE_XZQH"));
$("#bdmbpoliticsstatus").text(codeFormatter($("#bdmbpoliticsstatusstr").val(),"CODE_ZZMM"));
$("#bdmbdeucation").text(codeFormatter($("#bdmbdeucationstr").val(),"CODE_WHCD"));
$("#bdmbhouseregcode").text(codeFormatter($("#bdmbhouseregcodestr").val(),"CODE_XZQH"));
$("#bdmbaddresscode").text(codeFormatter($("#bdmbaddresscodestr").val(),"CODE_XZQH"));
$("#affirmunitcode").text(codeFormatter($("#affirmunitcodestr").val(),"CODE_UNIT"));
var bdyzmzpBase64 = $("#bdyzmzpBase64").val();
if(bdyzmzpBase64!=null&&bdyzmzpBase64!=""){
$("#imghead0").attr("src","data:image/jpg;base64,"+bdyzmzpBase64);
}
var bdmbzmzpBase64 = $("#bdmbzmzpBase64").val();
if(bdmbzmzpBase64!=null&&bdmbzmzpBase64!=""){
$("#imghead1").attr("src","data:image/jpg;base64,"+bdmbzmzpBase64);
}
var bdmbrybzzwtpBase64 = $("#bdmbrybzzwtpBase64").val();
if(bdmbrybzzwtpBase64!=null&&bdmbrybzzwtpBase64!=""){
$("#imghead3").attr("src","data:image/jpg;base64,"+bdmbrybzzwtpBase64);
}
var bdyrybzzwtpBase64 = $("#bdyrybzzwtpBase64").val();
if(bdmbrybzzwtpBase64!=null&&bdmbrybzzwtpBase64!=""){
$("#imghead2").attr("src","data:image/jpg;base64,"+bdyrybzzwtpBase64);
}
})
//格式化字典
function codeFormatter(val,type){
var codeName="";
$.ajax({
url:"/queryNameByCode",
data:{"codeId":val,"codeType":type},
async:false,
type:"post",
dataType:"text",
success:function(data){
codeName=data;
},
error:function(e){
console.log("error="+JSON.stringify(e));
}
});
return codeName;
}
</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