自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-13 63b6ae940687d2de076ff74bff9aaa187d843d5d
src/main/java/com/zy/common/service/CommonService.java
@@ -14,7 +14,7 @@
import java.util.List;
/**
 * 双深式货架核心功能
 * 货架核心功能
 * Created by vincent on 2020/6/11
 */
@Service
@@ -100,6 +100,7 @@
            for (List<Integer> node : shelves.nodes){
                if (node.contains(curRow)) {
                    crnNo = shelves.nodes.indexOf(node) + 1;
                    break;
                }
            }
            BasCrnp crnp = basCrnpService.selectById(crnNo);
@@ -119,7 +120,7 @@
                throw new CoolException("入库路径不存在");
            }
            BasDevp staNo = basDevpService.selectById(staDesc.getCrnStn());
            int inQty = staNo.getInQty();
            int inQty = staNo.getInQty()==null?0:staNo.getInQty();
            if (staNo.getInEnable().equals("Y") && staNo.getAutoing().equals("Y") && inQty<2) {
                // 查找库位
                LocMast locMast = locMastService.queryFreeLocMast(curRow);