Commit 99ebeafc LN

1053:修改bug:麦康尼任务未结束

1 个父辈 6987646e
......@@ -415,7 +415,7 @@ public class BaseDeviceHandler implements IDeviceHandler {
String posName = boxStatus.getPosId();
String barcode=boxStatus.getBarcode();
int executeTime=boxStatus.getExecuteTime();
if (!Strings.isNullOrEmpty(posName)) {//客户端发一次完成之后,会发空的 posName,不需要处理
if ((!Strings.isNullOrEmpty(posName))||(!Strings.isNullOrEmpty(barcode))) {//客户端发一次完成之后,会发空的 posName,不需要处理
if (BOX_STATUS.IN_FINISHED == status) {//入仓完成
finishedPutIn(statusBean.getCid(),posName,barcode,executeTime);
} else if (BOX_STATUS.IN_FAILED == status) {//入库失败
......
......@@ -167,7 +167,7 @@ public class RobotBoxHandler extends BaseDeviceHandler {
String posName = boxStatus.getPosId();
String barcode=boxStatus.getBarcode();
int executeTime = boxStatus.getExecuteTime();
if (!Strings.isNullOrEmpty(posName)) {//客户端发一次完成之后,会发空的 posName,不需要处理
if ((!Strings.isNullOrEmpty(posName))||(!Strings.isNullOrEmpty(barcode))) {//客户端发一次完成之后,会发空的 posName,不需要处理
if (BOX_STATUS.IN_FINISHED == status) {//入仓完成
finishedPutIn(statusBean.getCid(), posName,barcode, executeTime);
} else if (BOX_STATUS.IN_FAILED == status) {//入库失败
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!