Commit 46c994a3 by yangliang

修改指纹比中信息

parent a174dcc0
......@@ -146,6 +146,8 @@ public class RyfkController {
tbZwbzxx = this.getZwbzxx(rwbh,user);
if(tbZwbzxx!=null&&tbZwbzxx.getRwbh()!=null&&!"".equals(tbZwbzxx.getRwbh())){
bzcs ++;
tbZwbzxx.setNyzw_jzrybh(zwbh);
tbZwbzxx.setRwbh(rwbh);
lzwbzxx.add(tbZwbzxx);
}
}
......
......@@ -184,11 +184,11 @@ public class XsjsbzController {
String zwbh = personList.get(0).getBarcode();
String imgStr = "";
if(zwbh!=null&&zwbh.indexOf("4601")==0){
imgStr = getZwImagedata("http://10.185.207.31:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
imgStr = getZwImagedata("http://74.10.26.181:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
}else if(zwbh!=null&&zwbh.indexOf("4602")==0){
imgStr = getZwImagedata("http://74.41.47.102:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
imgStr = getZwImagedata("http://74.10.26.181:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
}else if(zwbh!=null&&zwbh.indexOf("469003")==0){
imgStr = getZwImagedata("http://74.55.64.132:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
imgStr = getZwImagedata("http://74.10.26.181:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
}else{
imgStr = getZwImagedata("http://74.10.26.181:8082/data/getPSNRollByRybh?rybh="+personList.get(0).getBarcode(),nyzw);
}
......@@ -197,11 +197,14 @@ public class XsjsbzController {
modelAndView.addObject("person",personList.get(0));
}
if(caseList!=null&&caseList.size()>0){
String imgStr = "";
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()));
}
imgStr = getZwImagedata("http://74.10.26.181:8082/data/getCaseFingerByAjbh?ajbh="+caseList.get(0).getBarcode(),zwxh);
caseList.get(0).setAjbzzwtpBase64(imgStr);
//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));
}
......@@ -228,18 +231,20 @@ public class XsjsbzController {
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");
if("0".equals(code)){
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)));
}
System.out.println("指位="+position+"; 指纹图片="+(image==null)+"-"+("".equals(image)));
}
}
return image;
......
......@@ -65,8 +65,10 @@
<td rowspan="4" colspan="2" class="ac"><img id="ckzp" src="data:image/jpg;base64,"+${ryjbxx.edzzpStr64} style="height:120px;" /></td>
<!--<td rowspan="4" colspan="2" class="ac"><img id="ckzp" src="/static/img/zwimg/R46010856000020200750011.jpg" style="height:120px;" /></td>-->
<input type="hidden" id="ckzpStr" name="ckzpStr" th:value="${ryjbxx.edzzpStr64}"/>
<input type="hidden" id="xxdjryXm" th:value="${user.trueName}"/>
<input type="hidden" id="szzwbh" th:value="${rycjjbxx.szzwbh}"/>
<td class="ar">人员编号:</td>
<td style="width:15%;" id="rybhtext" th:text="${ryjbxx.rybh}"></td>
<td style="width:15%;" id="rybhtext" th:text="${rycjjbxx.rybh}"></td>
<td class="ar">证件号码:</td>
<td style="width:15%;" id="zjhmtext" th:text="${ryjbxx.zjhm}"></td>
</tr>
......@@ -547,11 +549,33 @@
,limit: 10
,cols: [
[
{field:'rwbh', title:'任务编号',align:'center', width:'10%'}
,{field:'zwbdxtlxms', title:'指纹比对系统描述',align:'center', width:'10%'}
,{field:'xczw_asjbh', title:'现场指纹_案事件编号',align:'center', width:'10%'}
,{field:'xczw_ysxt_asjbh', title:'原始系统_案事件编号',align:'center', width:'10%'}
,{field:'xczw_xckybh', title:'现场指纹_现场勘验编号',align:'center', width:'10%'}
{title:"任务编号",field:"rwbh",align:'center',width:'15%',templet:function(row){
var xczwbh=row.xczw_xczzhwkbh;
var nyzwbh=$('#szzwbh').val();
var rwbh=row.rwbh;
var rstStr = "<span onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\" title='点击查看比中详情'>"+rwbh+"</span>";
return rstStr;
}},
{title:"捺印指纹编号",field:"nyzw_jzrybh",align:'center',width:'15%',templet:function(row){
var xczwbh=row.xczw_xczzhwkbh;
var nyzwbh=$('#szzwbh').val();
var rstStr = "<span onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\" title='点击查看比中详情'>"+nyzwbh+"</span>";
return rstStr;
}},
{title:"现场指纹编号",field:"xczw_xczzhwkbh",align:'center',width:'15%',templet:function(row){
var xczwbh=row.xczw_xczzhwkbh;
var nyzwbh=$('#szzwbh').val();
var rstStr = "<span onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\" title='点击查看比中详情'>"+xczwbh+"</span>";
return rstStr;
}},
{title:"案件编号",field:"xczw_ysxt_asjbh",align:'center',width:'15%',templet:function(row){
var xczwbh=row.xczw_xczzhwkbh;
var nyzwbh=$('#szzwbh').val();
var xczw_ysxt_asjbh=row.xczw_ysxt_asjbh;
var rstStr = "<span onclick=\"toXsjsDetail(\'" + nyzwbh + "\',\'"+xczwbh+"\')\" title='点击查看比中详情'>"+xczw_ysxt_asjbh+"</span>";
return rstStr;
}},
{field:'xczw_xckybh', title:'现场勘验编号',align:'center', width:'15%'}
,{field:'bzdw_gajgmc', title:'比中单位',align:'center', width:'10%'}
,{field:'bzr_xm', title:'比中人_姓名',align:'center', width:'10%'}
,{field:'bzsj', title:'比中时间',align:'center', width:'10%'}
......@@ -572,7 +596,9 @@
});
function toXsjsDetail(nyzwbh, xczwbh) {
window.open("/getXsjsbdxq?nyzwbh=" +nyzwbh+"&xczwbh="+xczwbh);
}
</script>
......
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