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
ddfbe9c6
Commit
ddfbe9c6
authored
Apr 01, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改更改任务单状态
parent
78138d8f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+3
-3
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+0
-0
TaskListService.java
...ain/java/com/yxproject/start/service/TaskListService.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+9
-1
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
ddfbe9c6
...
...
@@ -216,15 +216,15 @@ public class TaskListApi {
/**
* 查询任务单详情(历史)
* (辅助库)
* (创建、下发、
数据核验
、预订位、平压、冲切)
* (创建、下发、
膜打印
、预订位、平压、冲切)
*
* @param process 工序
* @param resp
* @return
*/
@RequestMapping
(
"queryHistoryTaskAtAuxiliary"
)
public
List
<
Object
>
queryHistoryTaskAtAuxiliary
(
@RequestParam
(
"process"
)
String
process
,
@RequestParam
(
"date"
)
String
date
,
HttpServletResponse
resp
)
{
List
<
Object
>
objects
=
taskListService
.
selectHistoryTaskAtAuxiliary
(
Long
.
valueOf
(
process
),
replaceDate
(
date
));
public
List
<
Object
>
queryHistoryTaskAtAuxiliary
(
@RequestParam
(
"process"
)
String
process
,
@RequestParam
(
"date"
)
String
date
,
@RequestParam
(
"workGroup"
)
String
workGroup
,
HttpServletResponse
resp
)
{
List
<
Object
>
objects
=
taskListService
.
selectHistoryTaskAtAuxiliary
(
Long
.
valueOf
(
process
),
replaceDate
(
date
)
,
workGroup
);
return
objects
;
}
...
...
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
ddfbe9c6
This diff is collapsed.
Click to expand it.
src/main/java/com/yxproject/start/service/TaskListService.java
View file @
ddfbe9c6
...
...
@@ -33,7 +33,7 @@ public interface TaskListService {
public
List
<
Object
>
selectByCountyAtAuxiliary
(
long
process
);
public
List
selectHistoryTaskAtAuxiliary
(
long
process
,
String
date
);
public
List
selectHistoryTaskAtAuxiliary
(
long
process
,
String
date
,
String
workGroup
);
public
List
selectHistoryTaskAtAuxiliary2
(
String
date
);
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
ddfbe9c6
...
...
@@ -116,9 +116,17 @@ public class TaskListServiceImpl implements TaskListService {
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
boolean
updateState2
(
List
<
String
>
failedlist
,
List
<
String
>
list
,
String
process
,
String
name
,
long
printer
)
{
if
(
"2"
.
equals
(
process
)){
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
(
Long
.
valueOf
(
process
)+
2
)+
""
,
name
,
printer
);
}
}
else
{
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
process
,
name
,
printer
);
}
}
for
(
String
failedId
:
failedlist
){
FailedCardEntity
failedCardEntity
=
new
FailedCardEntity
();
failedCardEntity
.
setFailedCardId
(
Long
.
valueOf
(
failedId
));
...
...
@@ -413,7 +421,7 @@ public class TaskListServiceImpl implements TaskListService {
* @return
*/
@Override
public
List
selectHistoryTaskAtAuxiliary
(
long
process
,
String
date
)
{
public
List
selectHistoryTaskAtAuxiliary
(
long
process
,
String
date
,
String
workGroup
)
{
int
pro
=
(
int
)
process
;
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
switch
(
pro
)
{
...
...
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