Commit 8b84c75c LN

移库验证修改

1 个父辈 e1872237
...@@ -306,9 +306,15 @@ public class SpBoxUtil { ...@@ -306,9 +306,15 @@ public class SpBoxUtil {
//清空原来的库位,新库位中增加信息 //清空原来的库位,新库位中增加信息
if (targetPos.getBarcode() != null || targetPos.isUsed()) { if (targetPos.getBarcode() != null ) {
log.info("moveBoxPos , 参数:箱子号=" + barcode.getBarcode() + ", 目标库位号=" + targetPos.getPosName() + ",目标库位不为空"); log.info("moveBoxPos , 参数:箱子号=" + barcode.getBarcode() + ", 目标库位号=" + targetPos.getPosName() + ",目标库位不为空:"+targetPos.getBarcode().getBarcode());
throw new Exception("目标库位不为空"); throw new Exception("目标库位不为空:"+targetPos.getBarcode().getBarcode());
}
//清空原来的库位,新库位中增加信息
if ( targetPos.isUsed()) {
log.info("moveBoxPos , 参数:箱子号=" + barcode.getBarcode() + ", 目标库位号=" + targetPos.getPosName() + ",目标库位已使用");
throw new Exception("目标库位已使用");
} }
if (ReelLockPosUtil.posIsLock(targetPos.getPosName())) { if (ReelLockPosUtil.posIsLock(targetPos.getPosName())) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!