自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-11 77ce9b966a4965bf1d5bdcb1dbd8e76dd45a8c53
src/main/java/com/zy/common/service/CommonService.java
@@ -120,10 +120,14 @@
            BasDevp staNo = basDevpService.selectById(staDesc.getCrnStn());
            int inQty = staNo.getInQty();
            if (staNo.getInEnable().equals("Y") && staNo.getAutoing().equals("Y") && inQty<2) {
                // 查找库位 todo
                LocMast locMast = locMastService.queryFreeLocMast(curRow, 1);
                // 查找库位
                LocMast locMast = locMastService.queryFreeLocMast(curRow);
                if (Cools.isEmpty(locMast)) {
                    throw new CoolException("没有空库位");
                }
                locNo = locMast.getLocNo();
                // 更新库位排号
                rowLastno.setCurrentRow(curRow);
                rowLastnoService.updateById(rowLastno);
            } else {