Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_REFACTORING
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_REFACTORING
Commits
359d1836
Commit
359d1836
authored
Nov 20, 2018
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载装箱单并连接盈信库
更新异常状态并更新异常信息 更新出库时间和入库时间
parent
b2a253d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
TaskMapper.java
src/main/java/com/yxproject/start/mapper/TaskMapper.java
+1
-1
TaskServiceImpl.java
...ava/com/yxproject/start/service/impl/TaskServiceImpl.java
+11
-9
No files found.
src/main/java/com/yxproject/start/mapper/TaskMapper.java
View file @
359d1836
...
...
@@ -19,5 +19,5 @@ public interface TaskMapper {
public
List
<
TaskEntity
>
findTaskEntityByState
(
int
state
);
public
int
addExceptionState
(
TaskEntity
taskEntity
);
public
int
replaceExceptionInformation
(
TaskEntity
taskEntity
);
public
int
totalnum
(
String
i
);
public
int
totalnum
(
int
i
);
}
src/main/java/com/yxproject/start/service/impl/TaskServiceImpl.java
View file @
359d1836
...
...
@@ -447,13 +447,14 @@ public class TaskServiceImpl implements TaskService {
public
int
updateOutboundDate
(
TaskEntity
taskEntity
)
{
int
i
=
0
;
i
=
taskMapper
.
totalnum
(
i
);
if
(
countyListInfoEntity
.
getOutBoundCount
()=!
i
){
return
0
;
}
else
{
if
(
countyListInfoEntity
.
getOutBoundCount
()==
i
){
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
taskEntity
.
setOut_Storage_Date
(
new
Date
());
return
taskMapper
.
updateTaskEntity
(
taskEntity
);
}
else
{
return
0
;
}
}
...
...
@@ -464,15 +465,16 @@ public class TaskServiceImpl implements TaskService {
*/
@Override
public
int
updatePutinstorageDate
(
TaskEntity
taskEntity
)
{
String
i
;
int
i
=
0
;
i
=
taskMapper
.
totalnum
(
i
);
if
(
countyListInfoEntity
.
getInStorageCount
()=){
return
0
;
}
else
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
if
(
countyListInfoEntity
.
getInStorageCount
()==
i
){
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddhhmmss"
);
taskEntity
.
setIn_Storage_Date
(
new
Date
());
return
taskMapper
.
updateTaskEntity
(
taskEntity
);
}
else
{
return
0
;
}
}
/**
...
...
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