Commit ca0c6f91 LN

虚拟仓默认正常运行

1 个父辈 8f1ed6dc
...@@ -430,6 +430,11 @@ public class BoxKanbanController { ...@@ -430,6 +430,11 @@ public class BoxKanbanController {
if (bean == null || bean.getBoxStatus() == null) { if (bean == null || bean.getBoxStatus() == null) {
boxDto.setOnLine(false); boxDto.setOnLine(false);
//如果是虚拟仓,默认在线
if(storage.isVirtual()){
boxDto.setOnLine(true);
boxDto.setStatus(1);
}
} else { } else {
if (bean.timeOut()) { if (bean.timeOut()) {
boxDto.setOnLine(false); boxDto.setOnLine(false);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!