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
c70f66ab
Commit
c70f66ab
authored
Apr 02, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改更改废证任务单状态
parent
c5f8dc88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+0
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+6
-4
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
c70f66ab
...
...
@@ -218,7 +218,6 @@ public class TaskListApi {
* (分拣)
*
* @param process 工序
* @param resp
* @return
*/
@RequestMapping
(
"queryByCountyAtAuxiliaryState4"
)
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
c70f66ab
...
...
@@ -58,6 +58,7 @@ public class TaskListServiceImpl implements TaskListService {
switch
(
process
)
{
case
"3"
:
taskListMapper
.
updateState3
(
taskId
,
process
,
name
);
taskListMapper
.
updateState4
(
taskId
,
(
Long
.
valueOf
(
process
)+
1
)+
""
,
name
);
break
;
case
"4"
:
taskListMapper
.
updateState4
(
taskId
,
process
,
name
);
...
...
@@ -85,6 +86,7 @@ public class TaskListServiceImpl implements TaskListService {
break
;
case
"3"
:
failedCardEntity
.
setState
((
long
)
2
);
failedCardEntity
.
setState
((
long
)
3
);
break
;
case
"4"
:
failedCardEntity
.
setState
((
long
)
3
);
...
...
@@ -106,7 +108,6 @@ public class TaskListServiceImpl implements TaskListService {
public
boolean
updateState1
(
List
<
String
>
failedList
,
List
<
String
>
list
,
String
process
,
String
name
,
String
workGroup
)
{
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState1
(
taskId
,
process
,
name
,
workGroup
);
}
return
true
;
}
...
...
@@ -120,13 +121,14 @@ public class TaskListServiceImpl implements TaskListService {
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
process
,
name
);
}
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
(
Long
.
valueOf
(
process
)+
2
)+
""
,
name
);
}
}
else
{
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
process
,
name
);
}
for
(
String
taskId
:
list
)
{
taskListMapper
.
updateState2
(
taskId
,
(
Long
.
valueOf
(
process
)+
2
)+
""
,
name
);
}
}
for
(
String
failedId
:
failedlist
){
...
...
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