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
c850640e
Commit
c850640e
authored
Mar 14, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0ff8848a
661c35ac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
4 deletions
+29
-4
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+1
-1
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+15
-0
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+9
-2
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+4
-1
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
c850640e
...
...
@@ -161,7 +161,7 @@ public class TaskListApi {
/**
* 查询任务单详情
* (辅助库)
*(下发、
数据核验
)
*(下发、
膜打印
)
* @param process 工序
* @param resp
* @return
...
...
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
c850640e
...
...
@@ -542,6 +542,21 @@ public interface TaskListMapper {
"where FAILED_CARD.state =#{process2} and FAILED_CARD.state != FAILED_CARD.INITIATOR order by FAILED_CARD.ACCEPT_NO"
)
public
List
<
Map
<
String
,
Object
>>
selectByCountyAtAuxiliary_failed
(
@Param
(
"process2"
)
long
process2
);
/**
* 循环单查询
* 辅助库 废证
* 膜打印
* @param
* @return
*/
@Select
(
"select DISTINCT task.submit_date, FAILED_CARD.FAILED_CARD_ID task_id,'废证' CARD_TYPE,'100' CARD_TYPE_ID,task.COUNTY_CODE,\n"
+
"COUNTY_DIC.COUNTYNAME, 1 VALID_COUNT, 0 INVALID_COUNT,0 SPECIAL_CARD_COUNT,FAILED_CARD.ACCEPT_NO group_No,\n"
+
"0 faileCount from FAILED_CARD left join task on FAILED_CARD.task_id= task.TASK_ID\n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n"
+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE\n"
+
"where FAILED_CARD.state = 0 and FAILED_CARD.state != FAILED_CARD.INITIATOR order by FAILED_CARD.ACCEPT_NO"
)
public
List
<
Map
<
String
,
Object
>>
selectByCountyAtAuxiliary_failed_mu
();
/**
* 任务单查询历史
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
c850640e
...
...
@@ -261,12 +261,19 @@ public class TaskListServiceImpl implements TaskListService {
//查询余证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind
(
process
,
process
-
2
);
//查询废证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed
(
process
-
2
);
List
<
Map
<
String
,
Object
>>
mapList_failed
=
new
ArrayList
<>();
if
(
process
==
0
){
}
else
{
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed_mu
();
}
List
list
=
new
ArrayList
();
list
=
formateMap
(
mapList_common
);
list
.
addAll
(
formateMap
(
mapList_fast
));
list
.
addAll
(
formateMap
(
mapList_remaind
));
list
.
addAll
(
formateMap
(
mapList_failed
));
if
(
mapList_failed
.
size
()>
0
){
list
.
addAll
(
formateMap
(
mapList_failed
));
}
return
list
;
}
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
c850640e
...
...
@@ -69,6 +69,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
HttpService
.
uploadPackage
(
fd
,
function
(
data
)
{
if
(
data
){
MessageService
.
showAlert
(
"上传成功"
)
$scope
.
getXmlPackage
();
}
})
}
...
...
@@ -106,7 +107,9 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
importDate
=
uploadDate
;
$scope
.
confirmDelete
=
function
()
{
HttpService
.
deleteProdDataByFileId
(
uploadDate
,
function
(
data
)
{
MessageService
.
showAlert
(
data
.
msg
);
if
(
data
){
MessageService
.
showAlert
(
"删除成功"
);
}
$scope
.
closeThisDialog
();
reGet
();
})
...
...
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