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
ac280bd1
Commit
ac280bd1
authored
Jun 15, 2022
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
声纹信息与考核详情性别修改
parent
2e5f9e3f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
17 deletions
+40
-17
src/main/java/com/founder/controller/SwCjController.java
+0
-0
src/main/java/com/founder/controller/TbXwRycjController.java
+9
-8
src/main/java/com/founder/khtj/controller/KhtjController.java
+1
-9
src/main/java/com/founder/model/TbStSw.java
+19
-0
src/main/resources/application.properties
+11
-0
No files found.
src/main/java/com/founder/controller/SwCjController.java
View file @
ac280bd1
This diff is collapsed.
Click to expand it.
src/main/java/com/founder/controller/TbXwRycjController.java
View file @
ac280bd1
...
...
@@ -63,6 +63,7 @@ import static jdk.nashorn.internal.runtime.regexp.joni.Config.log;
@Controller
public
class
TbXwRycjController
{
PropertiesUtil
p
=
new
PropertiesUtil
(
"application.properties"
);
private
Logger
log
=
LoggerFactory
.
getLogger
(
this
.
getClass
());
@Autowired
private
AfisQualityService
afisQualityService
;
...
...
@@ -2909,17 +2910,17 @@ public class TbXwRycjController {
long
startTime
=
System
.
currentTimeMillis
();
//获取开始时间
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"4601"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNPalmByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://10.185.207.31:8082/data/getPSNPalmByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"pmzwurl4601"
)+
"
?rybh="
+
zwbh
);
}
else
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"4602"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNPalmByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://74.41.47.102:8082/data/getPSNPalmByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"pmzwurl4602"
)+
"
?rybh="
+
zwbh
);
}
else
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"469003"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNPalmByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://74.55.64.132:8082/data/getPSNPalmByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"pmzwurl469003"
)+
"
?rybh="
+
zwbh
);
}
else
{
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNPalmByRybh?rybh="+zwbh);
//imgstrs = hu.getJsonString("http://10.142.16.171:8082/data/getPSNPalmByRybh?rybh="+zwbh);//湖南省厅
imgstrs
=
hu
.
getJsonString
(
"http://74.10.26.181:8082/data/getPSNPalmByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"pmzwurl"
)+
"
?rybh="
+
zwbh
);
}
long
endTime
=
System
.
currentTimeMillis
();
//获取结束时间
System
.
out
.
println
(
"接口调用掌纹返回时长: "
+(
endTime
-
startTime
)+
"ms"
);
...
...
@@ -2964,17 +2965,17 @@ public class TbXwRycjController {
long
startTime
=
System
.
currentTimeMillis
();
//获取开始时间
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"4601"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNRollByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://10.185.207.31:8082/data/getPSNRollByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"gdzwurl4601"
)+
"
?rybh="
+
zwbh
);
}
else
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"4602"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNRollByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://74.41.47.102:8082/data/getPSNRollByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"gdzwurl4602"
)+
"
?rybh="
+
zwbh
);
}
else
if
(
zwbh
!=
null
&&
zwbh
.
indexOf
(
"469003"
)==
0
){
//imgstrs = hu.getJsonString("http://65.65.66.27:8081/data/getPSNRollByRybh?rybh="+zwbh);//株洲
imgstrs
=
hu
.
getJsonString
(
"http://74.55.64.132:8082/data/getPSNRollByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"gdzwurl469003"
)+
"
?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);//湖南省厅
imgstrs
=
hu
.
getJsonString
(
"http://74.10.26.181:8082/data/getPSNRollByRybh
?rybh="
+
zwbh
);
imgstrs
=
hu
.
getJsonString
(
p
.
getValue
(
"gdzwurl"
)+
"
?rybh="
+
zwbh
);
}
long
endTime
=
System
.
currentTimeMillis
();
//获取结束时间
System
.
out
.
println
(
"接口调用滚动指纹返回时长: "
+(
endTime
-
startTime
)+
"ms"
);
...
...
src/main/java/com/founder/khtj/controller/KhtjController.java
View file @
ac280bd1
...
...
@@ -513,15 +513,7 @@ public class KhtjController {
content
[
i
]
=
new
String
[
title
.
length
];
content
[
i
][
0
]
=
autoTbStRy
.
getRybh
();
content
[
i
][
1
]
=
autoTbStRy
.
getXm
();
if
(
"1"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"男"
;
}
else
if
(
"2"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"女"
;
}
else
if
(
"9"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"未说明性别"
;
}
else
if
(
"0"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"未知性别"
;
}
content
[
i
][
2
]
=
autoTbStRy
.
getXbdm
();
if
(
autoTbStRy
.
getGmsfhm
()
==
null
||
""
.
equals
(
autoTbStRy
.
getGmsfhm
()))
{
content
[
i
][
3
]
=
autoTbStRy
.
getZjhm
();
}
else
{
...
...
src/main/java/com/founder/model/TbStSw.java
View file @
ac280bd1
...
...
@@ -27,6 +27,7 @@ public class TbStSw implements Serializable {
//声纹数据
public
byte
[]
swsj
;
public
String
swsjStr
;
//音频总时长
public
String
zsc
;
...
...
@@ -90,6 +91,24 @@ public class TbStSw implements Serializable {
public
String
wjlj
;
//采集次数
public
int
cjcs
;
//设备厂商
public
String
sbcs
;
public
String
getSwsjStr
()
{
return
swsjStr
;
}
public
void
setSwsjStr
(
String
swsjStr
)
{
this
.
swsjStr
=
swsjStr
;
}
public
String
getSbcs
()
{
return
sbcs
;
}
public
void
setSbcs
(
String
sbcs
)
{
this
.
sbcs
=
sbcs
;
}
public
String
getXxzjbh
()
{
return
xxzjbh
;
...
...
src/main/resources/application.properties
View file @
ac280bd1
...
...
@@ -4,6 +4,17 @@ spring.profiles.active=dev
#server.context-path=/demo
#server.servlet.session.cookie.name=mycookies
pmzwurl4601
=
http://74.10.26.181:8082/data/getPSNPalmByRybh
pmzwurl4602
=
http://74.10.26.181:8082/data/getPSNPalmByRybh
pmzwurl469003
=
http://74.10.26.181:8082/data/getPSNPalmByRybh
pmzwurl
=
http://74.10.26.181:8082/data/getPSNPalmByRybh
gdzwurl4601
=
http://74.10.26.181:8082/data/getPSNRollByRybh
gdzwurl4602
=
http://74.10.26.181:8082/data/getPSNRollByRybh
gdzwurl469003
=
http://74.10.26.181:8082/data/getPSNRollByRybh
gdzwurl
=
http://74.10.26.181:8082/data/getPSNRollByRybh
zwrwurl
=
http://172.18.117.11:8081/szxc/query/person
zwrwurl4601
=
http://172.18.117.11:8081/szxc/query/person
zwrwurl4602
=
http://172.18.117.11:8081/szxc/query/person
...
...
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