Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
7836158e
Commit
7836158e
authored
Jul 22, 2020
by
wuzhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标签打印获取分局名称改为用派出所代码;
修改标签打印获取详细列表改为从盈信库查询; 增加标签打印获取详细信息从连接制证库查询为空时,设置初始化值
parent
29c9fbad
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
17 deletions
+24
-17
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+11
-4
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+3
-6
ReceiptService.java
...main/java/com/yxproject/start/service/ReceiptService.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+7
-4
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+1
-1
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+1
-1
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
7836158e
...
@@ -277,10 +277,17 @@ public class ReceiptApi {
...
@@ -277,10 +277,17 @@ public class ReceiptApi {
for
(
int
i
=
0
;
i
<
resultList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
resultList
.
size
();
i
++)
{
String
acceptNo
=(
String
)
resultList
.
get
(
i
).
get
(
"ACCEPT_NO"
);
String
acceptNo
=(
String
)
resultList
.
get
(
i
).
get
(
"ACCEPT_NO"
);
Map
<
String
,
Object
>
map
=
receiptService
.
selectTimes
(
acceptNo
);
Map
<
String
,
Object
>
map
=
receiptService
.
selectTimes
(
acceptNo
);
resultList
.
get
(
i
).
put
(
"downloadDate"
,
map
.
get
(
"DOWNLOADDATE"
));
if
(
map
==
null
){
resultList
.
get
(
i
).
put
(
"checkDate"
,
map
.
get
(
"CHECKDATE"
));
resultList
.
get
(
i
).
put
(
"downloadDate"
,
"数据已迁移"
);
resultList
.
get
(
i
).
put
(
"electricDate"
,
map
.
get
(
"ELECTRICDATE"
));
resultList
.
get
(
i
).
put
(
"checkDate"
,
"数据已迁移"
);
resultList
.
get
(
i
).
put
(
"styleClass"
,
""
);
resultList
.
get
(
i
).
put
(
"electricDate"
,
"数据已迁移"
);
resultList
.
get
(
i
).
put
(
"styleClass"
,
""
);
}
else
{
resultList
.
get
(
i
).
put
(
"downloadDate"
,
map
.
get
(
"DOWNLOADDATE"
));
resultList
.
get
(
i
).
put
(
"checkDate"
,
map
.
get
(
"CHECKDATE"
));
resultList
.
get
(
i
).
put
(
"electricDate"
,
map
.
get
(
"ELECTRICDATE"
));
resultList
.
get
(
i
).
put
(
"styleClass"
,
""
);
}
}
}
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
logger
.
error
(
"交接单ID:"
+
receiptId
);
logger
.
error
(
"交接单ID:"
+
receiptId
);
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
7836158e
...
@@ -198,12 +198,9 @@ public interface ReceiptMapper {
...
@@ -198,12 +198,9 @@ public interface ReceiptMapper {
"WHERE ACCEPT_NO=#{groupNo}"
)
"WHERE ACCEPT_NO=#{groupNo}"
)
public
Map
<
String
,
Object
>
selectCountTimeT
(
@Param
(
"groupNo"
)
String
groupNo
);
public
Map
<
String
,
Object
>
selectCountTimeT
(
@Param
(
"groupNo"
)
String
groupNo
);
@Select
(
"SELECT POLICE_CODE,POLICE_NAME,COUNT(*) \n"
+
@Select
(
"select POLICE_CODE,POLICE_NAME,COUNT(*) from POLICE_DIC\n"
+
"FROM PRODYD_DBA.PROD_CARd_T@PRODYD_LINK \n"
+
"where POLICE_CODE=SUBSTR( #{policeCode},0,6)\n"
+
"LEFT JOIN POLICE_DIC\n"
+
"GROUP BY POLICE_CODE,POLICE_NAME "
)
"ON SUBSTR(PROD_CARD_T.UPLOAD_NO,0,6)=POLICE_DIC.POLICE_CODE\n"
+
"where ACCEPT_NO like #{policeCode} \n"
+
"GROUP BY POLICE_CODE,POLICE_NAME"
)
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
@Select
(
"select \n"
+
@Select
(
"select \n"
+
...
...
src/main/java/com/yxproject/start/service/ReceiptService.java
View file @
7836158e
...
@@ -43,7 +43,7 @@ public interface ReceiptService {
...
@@ -43,7 +43,7 @@ public interface ReceiptService {
// public boolean updateFinishCount(String GROUP_NO,int count);
// public boolean updateFinishCount(String GROUP_NO,int count);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
qr
Code
);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
police
Code
);
//特证查询是否生成交接单
//特证查询是否生成交接单
public
List
<
Map
<
String
,
Object
>>
selectCountById
(
String
id
,
String
beginDate
,
String
expireDate
);
public
List
<
Map
<
String
,
Object
>>
selectCountById
(
String
id
,
String
beginDate
,
String
expireDate
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
7836158e
...
@@ -139,6 +139,9 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -139,6 +139,9 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override
@Override
public
Map
<
String
,
Object
>
selectTimes
(
String
groupNo
)
{
public
Map
<
String
,
Object
>
selectTimes
(
String
groupNo
)
{
Map
<
String
,
Object
>
maps
=
receiptMapper
.
selectTimes
(
groupNo
);
Map
<
String
,
Object
>
maps
=
receiptMapper
.
selectTimes
(
groupNo
);
if
(
maps
==
null
){
return
null
;
}
return
maps
;
return
maps
;
}
}
...
@@ -242,11 +245,11 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -242,11 +245,11 @@ public class ReceiptServiceImpl implements ReceiptService {
}
}
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
qr
Code
)
{
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
police
Code
)
{
if
(
qr
Code
!=
null
){
if
(
police
Code
!=
null
){
qrCode
=
qr
Code
+
"%"
;
policeCode
=
police
Code
+
"%"
;
}
}
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
queryPoliceName
(
qr
Code
);
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
queryPoliceName
(
police
Code
);
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
if
(
mapList
.
size
()>
0
){
if
(
mapList
.
size
()>
0
){
maps
.
add
(
mapList
.
get
(
0
));
maps
.
add
(
mapList
.
get
(
0
));
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
7836158e
...
@@ -273,7 +273,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -273,7 +273,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
$scope.PreviewMytableRotate = function(){
$scope.PreviewMytableRotate = function(){
HttpService.getPoliceName($scope.json.
QR_CODE
,function(data) {
HttpService.getPoliceName($scope.json.
policeCode
,function(data) {
$scope.json.policeData = data[0].POLICE_NAME;
$scope.json.policeData = data[0].POLICE_NAME;
console.log($scope.json.policeData)
console.log($scope.json.policeData)
$timeout(function () {
$timeout(function () {
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
7836158e
...
@@ -91,7 +91,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
...
@@ -91,7 +91,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
// MessageService.showAlert("解析完成")
// MessageService.showAlert("解析完成")
getData
();
getData
();
}
else
{
}
else
{
$scope
.
wrongMsg
=
"解析失败"
$scope
.
wrongMsg
=
"解析失败
,请联系管理员!
"
}
}
})
})
}
}
...
...
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