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
284612ff
Commit
284612ff
authored
Dec 05, 2023
by
Leslie1w
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指纹比对接口
parent
c91190b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
1 deletions
+97
-1
hnxtba-core/src/main/java/com/founder/config/FilterConfig.java
+1
-1
hnxtba-core/src/main/java/com/founder/controller/XsjsbzController.java
+96
-0
No files found.
hnxtba-core/src/main/java/com/founder/config/FilterConfig.java
View file @
284612ff
...
@@ -26,7 +26,7 @@ public class FilterConfig extends WebMvcConfigurerAdapter {
...
@@ -26,7 +26,7 @@ public class FilterConfig extends WebMvcConfigurerAdapter {
"/doLogin"
,
"/toHome"
,
"/static*//**"
,
"/refreshCodeCache"
,
"/qxdoLogin"
,
"/queryNameByCode"
,
"/queryTypeCode"
,
"/queryZTreeDataByName"
,
"/toFjxz"
,
"/toCzsmxz"
,
"/download/**"
,
"/toObjectKJ"
,
"/catchimg"
,
"/iframe1"
,
"/iframe2"
,
"/xj"
,
"/loginIdCard"
,
"/report"
,
"/SavePersonInfo4Nmtc"
,
"/getZjxxbdjg"
,
"/singleLoginAct"
,
"/doLogin"
,
"/toHome"
,
"/static*//**"
,
"/refreshCodeCache"
,
"/qxdoLogin"
,
"/queryNameByCode"
,
"/queryTypeCode"
,
"/queryZTreeDataByName"
,
"/toFjxz"
,
"/toCzsmxz"
,
"/download/**"
,
"/toObjectKJ"
,
"/catchimg"
,
"/iframe1"
,
"/iframe2"
,
"/xj"
,
"/loginIdCard"
,
"/report"
,
"/SavePersonInfo4Nmtc"
,
"/getZjxxbdjg"
,
"/singleLoginAct"
,
"/getYhkDetail"
,
"/getSwDetail"
,
"/getRyzjzpimages"
,
"/getRyzpimages"
,
"/getPmimages"
,
"/getGdimages"
,
"/irisking/collect/result"
,
"/getYthcjryxxByRybh"
,
"/checkClientVp"
,
"/insertZwbhAndZwfkxxByRybh"
,
"/pkiLogin/"
,
"/toPkiHome"
"/getYhkDetail"
,
"/getSwDetail"
,
"/getRyzjzpimages"
,
"/getRyzpimages"
,
"/getPmimages"
,
"/getGdimages"
,
"/irisking/collect/result"
,
"/getYthcjryxxByRybh"
,
"/checkClientVp"
,
"/insertZwbhAndZwfkxxByRybh"
,
"/pkiLogin/"
,
"/toPkiHome"
,
"/dzwz"
,
"/queryDzwzList"
,
"/toDzwzDetail"
,
"/toHyxxLtjl"
,
"/toQzxx"
,
"/getQzcyDetail"
,
"/getQzltjlDetail"
,
"/getHyDetail"
,
"/queryHyxxLtjlList"
,
"/updateUser"
,
"/dzwz"
,
"/queryDzwzList"
,
"/toDzwzDetail"
,
"/toHyxxLtjl"
,
"/toQzxx"
,
"/getQzcyDetail"
,
"/getQzltjlDetail"
,
"/getHyDetail"
,
"/queryHyxxLtjlList"
,
"/updateUser"
,
"/getQzDetail"
,
"/getXsjsbdxq"
,
"/perTest"
,
"/swDownload"
,
"/getZzRxbd"
,
"/getZzRxbd2"
,
"/getQzDetail"
,
"/getXsjsbdxq"
,
"/
getZwbdxq"
,
"/
perTest"
,
"/swDownload"
,
"/getZzRxbd"
,
"/getZzRxbd2"
);
);
...
...
hnxtba-core/src/main/java/com/founder/controller/XsjsbzController.java
View file @
284612ff
...
@@ -305,6 +305,102 @@ public class XsjsbzController {
...
@@ -305,6 +305,102 @@ public class XsjsbzController {
return
modelAndView
;
return
modelAndView
;
}
}
/**
* 根据指纹比中的指纹编号查询详情信息
* @return
*/
@RequestMapping
(
"/getZwbdxq"
)
@ResponseBody
public
Map
<
String
,
Object
>
getZwbdxq
(
HttpServletRequest
request
,
String
nyzwbh
,
String
xczwbh
){
Map
<
String
,
Object
>
modelAndView
=
new
HashMap
<>();
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
(
STAMPS_FINGERPRINT_R
)==
0
){
nyzwbh
=
nyzwbh
.
substring
(
1
);
}
bzxxList
=
xsjsbdService
.
getXsjsbdxqJbxx
(
nyzwbh
,
xczwbh
);
}
if
(
nyzwbh
!=
null
&&!
""
.
equals
(
nyzwbh
)){
if
(
nyzwbh
.
indexOf
(
STAMPS_FINGERPRINT_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
);
}
//捺印指纹指位
String
nyzw
=
""
;
//现场指纹序号
String
zwxh
=
""
;
if
(
bzxxList
!=
null
&&
bzxxList
.
size
()>
0
){
String
type
=
bzxxList
.
get
(
0
).
getLa_type
();
if
(
STAMPS_FINGERPRINT_LA
.
equals
(
type
)){
nyzw
=
bzxxList
.
get
(
0
).
getDestseqno
();
zwxh
=
bzxxList
.
get
(
0
).
getSrcseqno
();
}
else
if
(
STAMPS_FINGERPRINT_AL
.
equals
(
type
)){
zwxh
=
bzxxList
.
get
(
0
).
getDestseqno
();
nyzw
=
bzxxList
.
get
(
0
).
getSrcseqno
();
}
modelAndView
.
put
(
"bzxx"
,
bzxxList
.
get
(
0
));
}
if
(
personList
!=
null
&&
personList
.
size
()>
0
){
if
(
nyzw
!=
null
&&!
""
.
equals
(
nyzw
)){
String
imgStr
=
""
;
if
(
personList
.
get
(
0
).
getBarcode
()!=
null
&&
personList
.
get
(
0
).
getBarcode
().
indexOf
(
UNIT_CS
)
==
0
)
{
log
.
info
(
"长沙捺印指纹url:{}"
,
csZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
personList
.
get
(
0
).
getBarcode
());
imgStr
=
getZwImagedata
(
csZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
personList
.
get
(
0
).
getBarcode
(),
nyzw
);
}
else
if
(
personList
.
get
(
0
).
getBarcode
()!=
null
&&
personList
.
get
(
0
).
getBarcode
().
indexOf
(
UNIT_ZZ
)
==
0
)
{
log
.
info
(
"株洲捺印指纹url:{}"
,
zzZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
personList
.
get
(
0
).
getBarcode
());
imgStr
=
getZwImagedata
(
zzZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
personList
.
get
(
0
).
getBarcode
(),
nyzw
);
}
else
{
//湖南省厅
String
zwbhtmp
=
personList
.
get
(
0
).
getBarcode
();
if
(
zwbhtmp
!=
null
&&
zwbhtmp
.
length
()==
22
){
zwbhtmp
=
"R"
+
zwbhtmp
;
}
log
.
info
(
"省厅捺印指纹url:{}"
,
stZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
zwbhtmp
);
imgStr
=
getZwImagedata
(
stZwUrl
+
"/data/getPSNRollByRybh?rybh="
+
zwbhtmp
,
nyzw
);
}
personList
.
get
(
0
).
setRybzzwtpBase64
(
imgStr
);
}
modelAndView
.
put
(
"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
.
put
(
"casexx"
,
caseList
.
get
(
0
));
}
return
modelAndView
;
}
/**
/**
* /调用指纹获取压缩图接口获取指纹图片
* /调用指纹获取压缩图接口获取指纹图片
* @param url
* @param url
...
...
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