Commit 359d1836 authored by Administrator's avatar Administrator

下载装箱单并连接盈信库

更新异常状态并更新异常信息
更新出库时间和入库时间
parent b2a253d0
......@@ -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);
}
......@@ -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;
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment