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
79adff4a
Commit
79adff4a
authored
Apr 22, 2021
by
yangliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改质量抽查功能及质量检查指纹图片调用地址
parent
037c09be
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
6 deletions
+87
-6
src/main/java/com/founder/controller/TbXwRycjController.java
+18
-3
src/main/java/com/founder/model/AfisQualityCk.java
+9
-0
src/main/java/com/founder/service/impl/AfisQualityServiceImpl.java
+26
-1
src/main/resources/mapper/AfisQualityCkSqlMapper.xml
+2
-0
src/main/resources/templates/zlcc/zlcc.html
+32
-2
No files found.
src/main/java/com/founder/controller/TbXwRycjController.java
View file @
79adff4a
...
...
@@ -136,6 +136,21 @@ public class TbXwRycjController {
System
.
out
.
println
(
"登录已失效"
);
model
.
addAttribute
(
"ifdl"
,
"0"
);
}
if
(
ryxx
.
getLrdwdm
()==
null
||
""
.
equals
(
ryxx
.
getLrdwdm
())){
String
grade
=
user
.
getGrade
();
String
ucode
=
user
.
getUnitcode
();
if
(
"S"
.
equals
(
grade
)){
ryxx
.
setLrdwdm
(
ucode
.
substring
(
0
,
2
)+
"0000000000"
);
}
else
if
(
"D"
.
equals
(
grade
)){
ryxx
.
setLrdwdm
(
ucode
.
substring
(
0
,
4
)+
"00000000"
);
}
else
if
(
"X"
.
equals
(
grade
)){
ryxx
.
setLrdwdm
(
ucode
.
substring
(
0
,
6
)+
"000000"
);
}
else
if
(
"K"
.
equals
(
grade
)){
ryxx
.
setLrdwdm
(
ucode
.
substring
(
0
,
8
)+
"0000"
);
}
else
{
ryxx
.
setLrdwdm
(
ucode
.
substring
(
0
,
10
)+
"00"
);
}
}
//ryxx.setLrr(user.getUnitcode());
easyUIPage
=
afisQualityService
.
queryZljcPage
(
easyUIPage
,
ryxx
);
return
easyUIPage
;
...
...
@@ -2292,7 +2307,7 @@ public class TbXwRycjController {
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNRollByRybh?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://
65.38.37.133
:8082/data/getPSNRollByRybh?rybh="
+
zwbh
);
//湖南省厅
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNPalmByRybh?rybh="+zwbh);
}
long
endTime
=
System
.
currentTimeMillis
();
//获取结束时间
...
...
@@ -2341,7 +2356,7 @@ public class TbXwRycjController {
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNRollByRybh?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://
65.38.37.133
:8082/data/getPSNRollByRybh?rybh="
+
zwbh
);
//湖南省厅
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNRollByRybh?rybh="+zwbh);
}
long
endTime
=
System
.
currentTimeMillis
();
//获取结束时间
...
...
@@ -2407,7 +2422,7 @@ public class TbXwRycjController {
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNPlainByRybh?rybh="+zwbh);
}
else
{
//imgstrs = hu.getJsonString("http://65.38.37.118:8081/data/getPSNPlainByRybh?rybh="+zwbh);
imgstrs
=
hu
.
getJsonString
(
"http://
10.142.16.171
:8082/data/getPSNPlainByRybh?rybh="
+
zwbh
);
//湖南省厅
imgstrs
=
hu
.
getJsonString
(
"http://
65.38.37.133
:8082/data/getPSNPlainByRybh?rybh="
+
zwbh
);
//湖南省厅
//imgstrs = hu.getJsonString("http://10.185.207.31:8082/data/getPSNPlainByRybh?rybh="+zwbh);
}
long
endTime
=
System
.
currentTimeMillis
();
//获取结束时间
...
...
src/main/java/com/founder/model/AfisQualityCk.java
View file @
79adff4a
...
...
@@ -75,6 +75,15 @@ public class AfisQualityCk implements Serializable {
private
String
ccsjStr
;
//抽查时间
private
String
rwbh
;
//任务编号
private
String
fssj
;
//发送时间
private
String
lrdwdm
;
//录入单位
public
String
getLrdwdm
()
{
return
lrdwdm
;
}
public
void
setLrdwdm
(
String
lrdwdm
)
{
this
.
lrdwdm
=
lrdwdm
;
}
public
String
getRRybh
()
{
return
this
.
RRybh
;
...
...
src/main/java/com/founder/service/impl/AfisQualityServiceImpl.java
View file @
79adff4a
...
...
@@ -24,7 +24,32 @@ public class AfisQualityServiceImpl extends BaseService<AfisQualityCk> implement
@Autowired
private
AfisQualityCkDao
mapper
;
@Override
public
EasyUIPage
queryZljcPage
(
EasyUIPage
page
,
AfisQualityCk
entity
)
{
Map
map
=
new
HashMap
();
public
EasyUIPage
queryZljcPage
(
EasyUIPage
page
,
AfisQualityCk
entity
)
{
Map
map
=
new
HashMap
();
String
djdw
=
entity
.
getRCjdw
();
if
(
djdw
!=
null
&&
djdw
!=
""
){
if
(
djdw
.
substring
(
2
,
12
).
equals
(
"0000000000"
))
{
//省
entity
.
setRCjdw
(
djdw
.
substring
(
0
,
2
));
}
else
if
(
djdw
.
substring
(
4
,
12
).
equals
(
"00000000"
))
{
//市
entity
.
setRCjdw
(
djdw
.
substring
(
0
,
4
));
}
else
if
(
djdw
.
substring
(
6
,
12
).
equals
(
"000000"
)){
//县
entity
.
setRCjdw
(
djdw
.
substring
(
0
,
6
));
}
else
if
(
djdw
.
substring
(
8
,
12
).
equals
(
"0000"
)){
//所
entity
.
setRCjdw
(
djdw
.
substring
(
0
,
8
));
}
}
String
yhdw
=
entity
.
getLrdwdm
();
if
(
yhdw
!=
null
&&
yhdw
!=
""
){
if
(
yhdw
.
substring
(
2
,
12
).
equals
(
"0000000000"
))
{
//省
entity
.
setLrdwdm
(
yhdw
.
substring
(
0
,
2
));
}
else
if
(
yhdw
.
substring
(
4
,
12
).
equals
(
"00000000"
))
{
//市
entity
.
setLrdwdm
(
yhdw
.
substring
(
0
,
4
));
}
else
if
(
yhdw
.
substring
(
6
,
12
).
equals
(
"000000"
)){
//县
entity
.
setLrdwdm
(
yhdw
.
substring
(
0
,
6
));
}
else
if
(
yhdw
.
substring
(
8
,
12
).
equals
(
"0000"
)){
//所
entity
.
setLrdwdm
(
yhdw
.
substring
(
0
,
8
));
}
}
map
.
put
(
"begin"
,
Integer
.
valueOf
(
page
.
getBegin
()));
map
.
put
(
"end"
,
Integer
.
valueOf
(
page
.
getEnd
()));
String
sort
=
page
.
getSort
();
...
...
src/main/resources/mapper/AfisQualityCkSqlMapper.xml
View file @
79adff4a
...
...
@@ -197,6 +197,7 @@
<select
id=
"queryZljcPageCount"
resultType=
"int"
parameterType=
"map"
>
select count(*) from AFIS_QUALITY_CK A,TB_RY_RYCJ B,SYS_PARAM_DATE S where 1=1
and A.R_RYBH=B.RYBH and S.BH='1000' AND A.SCBZ = '0' AND B.SZZWBH is not null AND (B.IFHB='0' OR B.IFHB IS NULL)
<if
test=
"entity.lrdwdm != null and entity.lrdwdm != ''"
>
AND B.LRDWDM like #{entity.lrdwdm , jdbcType=VARCHAR }||'%'
</if>
<include
refid=
"queryWhere"
/>
</select>
...
...
@@ -229,6 +230,7 @@
S.ZW_SX as zwsx
from AFIS_QUALITY_CK A,TB_RY_RYCJ B,SYS_PARAM_DATE S where 1=1
AND A.R_RYBH=B.RYBH AND S.BH='1000' AND A.SCBZ = '0' AND B.SZZWBH is not null AND (B.IFHB='0' OR B.IFHB IS NULL)
<if
test=
"entity.lrdwdm != null and entity.lrdwdm != ''"
>
AND B.LRDWDM like #{entity.lrdwdm , jdbcType=VARCHAR }||'%'
</if>
<include
refid=
"queryWhere"
/>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
...
...
src/main/resources/templates/zlcc/zlcc.html
View file @
79adff4a
...
...
@@ -382,6 +382,36 @@
return
;
}
$
.
ajax
({
url
:
"doCprExistAmiss"
,
type
:
"POST"
,
data
:{
"szzwbh"
:
szzwbh
},
dataType
:
"json"
,
success
:
function
(
data
){
debugger
;
var
result
=
data
.
result
;
if
(
result
==
undefined
||
result
==
null
||
result
==
""
){
result
=
data
;
}
if
(
result
!=
1
)
{
if
(
0
==
result
){
alert
(
"该人员指纹采集不成功,请重新进行采集!"
)
}
if
(
-
1
==
result
){
alert
(
"指纹库没有相关人员,请过一会再检查!"
)
}
}
else
{
window
.
open
(
"/toZlcc?rybh="
+
rybh
+
"&szzwbh="
+
szzwbh
+
"&ccbh="
+
$
(
"#ccbh"
).
val
(),
'_blank'
);
//window.open("/toZljc?rybh="+rybh+"&szzwbh="+szzwbh,'_blank');
}
},
error
:
function
(){
alert
(
"质量检查出错,请联系技术人员!"
);
}
});
/*
$.ajax({
url: "ifzljc",
type: "POST",
data:{"szzwbh" : szzwbh,"cjsj" : cjsj},
...
...
@@ -407,14 +437,14 @@
$.messager.alert( '提示',"质量详情出错,请联系技术人员!");
}
});
*/
//window.open("/toZljc?rybh="+rybh+"&szzwbh="+szzwbh,'_blank');
}
function
openXq
(
rybh
,
szzwbh
,
cjsj
){
//window.open("/toZljc?rybh="+rybh+"&szzwbh="+szzwbh+"&ifxq=1",'_blank');
$
.
ajax
({
url
:
"
ifzljc
"
,
url
:
"
doCprExistAmiss
"
,
type
:
"POST"
,
data
:{
"szzwbh"
:
szzwbh
,
"cjsj"
:
cjsj
},
dataType
:
"json"
,
...
...
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