Compare commits

..

No commits in common. "cb0be1cbbf9c5181871f07fc900faa1a38213fc0" and "18590dafb9de60d9247b2055606346f85403f73d" have entirely different histories.

View File

@ -151,8 +151,6 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
currTaskInfoVo.setStatus(currTask.getStatus()); currTaskInfoVo.setStatus(currTask.getStatus());
}else if (currTask.getIsCache()==1){ }else if (currTask.getIsCache()==1){
currTaskInfoVo.setStatus(2); currTaskInfoVo.setStatus(2);
}else {
currTaskInfoVo.setStatus(0);
} }
//生产单号 //生产单号
if (currTask.getSheetNo()!=null){ if (currTask.getSheetNo()!=null){
@ -173,6 +171,12 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
String nowStep="未开始"; String nowStep="未开始";
for (CurrTask currTask1:currTasks for (CurrTask currTask1:currTasks
) { ) {
if (currTask1.getStatus()==1){
nowStep=currTask1.getTargetPosition();
}else if (currTask1.getIsCache()==1){
nowStep=currTask.getLocationName();
}
allStep=allStep.concat("->").concat(currTask1.getTargetPosition());
InStockInfo inStockInfo = inStockInfoServiceBiz.getOne(new QueryWrapper<InStockInfo>().eq(InStockInfo.TASK_ID, currTask1.getId())); InStockInfo inStockInfo = inStockInfoServiceBiz.getOne(new QueryWrapper<InStockInfo>().eq(InStockInfo.TASK_ID, currTask1.getId()));
if (inStockInfo!=null){ if (inStockInfo!=null){
List<InStockInfoVo> inStockInfoVoList=new ArrayList<>(); List<InStockInfoVo> inStockInfoVoList=new ArrayList<>();
@ -181,15 +185,6 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
inStockInfoVoList.add(inStockInfoVo); inStockInfoVoList.add(inStockInfoVo);
currTaskInfoVo.setInStockInfoVoList(inStockInfoVoList); currTaskInfoVo.setInStockInfoVoList(inStockInfoVoList);
} }
if (currTask1.getStatus()==1){
nowStep=currTask1.getTargetPosition();
}else if (currTask1.getIsCache()==1){
nowStep=currTask.getLocationName();
}
if (currTaskInfoVo.getInStockInfoVoList().size()>0){
nowStep=currTaskInfoVo.getInStockInfoVoList().get(0).getLocationName();
}
allStep=allStep.concat("->").concat(currTask1.getTargetPosition());
} }
// //
currTaskInfoVo.setAllStep(allStep); currTaskInfoVo.setAllStep(allStep);