Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨亮
hnxtbaboot
Commits
5bec81e1
Commit
5bec81e1
authored
Jan 26, 2021
by
yangliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改虹膜采集推送地址
parent
6b524de4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
src/main/java/com/founder/controller/HmCjController.java
+6
-3
src/main/resources/static/hmcj/js/yskj.js
+2
-2
No files found.
src/main/java/com/founder/controller/HmCjController.java
View file @
5bec81e1
...
...
@@ -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"
,
"HM
460000000000"
+
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"
);
...
...
src/main/resources/static/hmcj/js/yskj.js
View file @
5bec81e1
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
:
"/sendHmxxTo
Hongba
"
,
url
:
"/sendHmxxTo
YanShen
"
,
data
:
{
"asjxgrybh"
:
rybh
},
dataType
:
"json"
,
success
:
function
(
data
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment