Commit 5bec81e1 by yangliang

修改虹膜采集推送地址

parent 6b524de4
......@@ -552,8 +552,8 @@ public class HmCjController {
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
String dateNowStr = sdf.format(d);
if(hmxxs.get(0).getRequest_id()==null||"".equals(hmxxs.get(0).getRequest_id())){
res.put("request_id","HMCJ-"+"460000000000"+"-"+"911101087740615606"+"-"+dateNowStr+"-0001"+asjxgrybh.substring(19,23));
//res.put("request_id","HMCJ-"+user.getUnitcode()+"-"+"911101087740615606"+"-"+dateNowStr+"-0001"+asjxgrybh.substring(19,23));
//res.put("request_id","HMCJ-"+"460000000000"+"-"+"911101087740615606"+"-"+dateNowStr+"-0001"+asjxgrybh.substring(19,23));
res.put("request_id","HMCJ-"+user.getUnitcode()+"-"+"911101087740615606"+"-"+dateNowStr+"-0001"+asjxgrybh.substring(19,23));
}else{
res.put("request_id",hmxxs.get(0).getRequest_id());
}
......@@ -604,8 +604,11 @@ public class HmCjController {
res.put("dzmc",xyrC.getXzzDzmc());
res.put("jd","");
res.put("wd","");
Calendar cal = Calendar.getInstance();
int minute = cal.get(Calendar.MINUTE);
int second = cal.get(Calendar.SECOND);
//res.put("cjbh","HM"+xyrC.getRybh().substring(1,19)+"01"+xyrC.getRybh().substring(19,23));
res.put("cjbh","HM460000000000"+dateNowStr+"01"+xyrC.getRybh().substring(19,23));
res.put("cjbh","HM"+user.getUnitcode()+dateNowStr+xyrC.getRybh().substring(21,23)+minute+second);
res.put("cjr_xm",user.getTrueName());
res.put("cjr_gmsfhm",user.getIdentitycard());
res.put("zyycjdm","1");
......
var nEyeNums = 1;
var nEyeNums = 3;
var webSocket = {};
//创建websockt
function CreateWebSocket() {
......@@ -247,7 +247,7 @@ function yshmts(){
var rybh = window.opener.document.getElementById("rybh").value;
$.ajax({
type: "POST",
url: "/sendHmxxToHongba",
url: "/sendHmxxToYanShen",
data: {"asjxgrybh":rybh},
dataType: "json",
success:function(data){
......
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