自动化立体仓库 - WMS系统
#
野心家
2024-09-09 71c8b222a56c0f9d1a15c2e5717989598ada70d5
src/main/java/com/zy/common/service/CommonService.java
@@ -102,14 +102,8 @@
    @Transactional
    public StartupDto getLocNo(Integer whsType, Integer staDescId, Integer sourceStaNo, List<String> matNos, LocTypeDto locTypeDto, int times) {
        if (sourceStaNo.equals(202)) {
            whsType = 1;
            locTypeDto.setLocType1((short) 1);
        } else if (sourceStaNo.equals(206)) {
            whsType = 2;
            locTypeDto.setLocType1((short) 2);
        }
        whsType = 1;
        locTypeDto.setLocType1((short) 1);
        StartupDto startupDto = new StartupDto();
        RowLastno rowLastno = rowLastnoService.selectById(whsType);
        if (Cools.isEmpty(rowLastno)) {
@@ -126,16 +120,6 @@
        int crnNo = crn_qty;
        // 目标库位
        LocMast locMast = null;
        crnNo=2;
        if (curRow == 3) {
            curRow = 4;
        } else if (curRow == 4) {
            curRow = 3;
        } else {
            rowCount = 0;
            crnNo=1;
        }
        if (crnNo == 0) {
            throw new CoolException("没有可用的堆垛机");