Commit 0f1b1f48 LN

BOX看板在线状态修改

1 个父辈 444038d6
...@@ -307,7 +307,6 @@ public class BoxKanbanController { ...@@ -307,7 +307,6 @@ public class BoxKanbanController {
boxDto.setOnLine(false); boxDto.setOnLine(false);
} else { } else {
boxDto.setOnLine(true); boxDto.setOnLine(true);
}
for (BoxStatusBean boxStatus : bean.getBoxStatus().values()) { for (BoxStatusBean boxStatus : bean.getBoxStatus().values()) {
String humidity = boxStatus.getHumidity(); String humidity = boxStatus.getHumidity();
String temperature = boxStatus.getTemperature(); String temperature = boxStatus.getTemperature();
...@@ -320,7 +319,7 @@ public class BoxKanbanController { ...@@ -320,7 +319,7 @@ public class BoxKanbanController {
boxDto.setData(bean.getData()); boxDto.setData(bean.getData());
if(!StringUtils.isEmpty(bean.getPosId())) { if (!StringUtils.isEmpty(bean.getPosId())) {
DataLog task = taskService.findExecutingTask(storage.getCid(), bean.getPosId()); DataLog task = taskService.findExecutingTask(storage.getCid(), bean.getPosId());
if (task != null) { if (task != null) {
boxDto.setPartNumber(task.getPartNumber()); boxDto.setPartNumber(task.getPartNumber());
...@@ -334,6 +333,7 @@ public class BoxKanbanController { ...@@ -334,6 +333,7 @@ public class BoxKanbanController {
} }
} }
}
return boxDto; return boxDto;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!