Commit 1517ad66 hc

Merge remote-tracking branch 'origin/smf-core-21088' into smf-core-21088

2 个父辈 5c4d7493 be83b513
......@@ -262,8 +262,6 @@ public class LineController {
for (DataLog task : allTasks) {
if (task.isCheckOutTask() && barcode.getBarcode().equals(task.getBarcode())) {
log.info(boxId+"任务需要改成FINISHED");
soureId = task.getSourceId();
sourceName = task.getSourceName();
dataLog = task;
break;
}
......@@ -278,7 +276,8 @@ public class LineController {
}
if (dataLog != null) {
soureId = dataLog.getSourceId();
sourceName = dataLog.getSourceName();
if (!dataLog.isFinished()){
dataLog.setStatus(OP_STATUS.FINISHED.name());
taskService.moveTaskToFinished(dataLog);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!