自动化立体仓库 - WMS系统
zjj
2024-11-11 824e55a2796130eeb6ef18a7d3a81209f868e543
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -260,6 +260,7 @@
                throw new CoolException("保存工作档失败,出库库位号:"+dto.getLocNo());
            }
            // 生成工作档明细
            if (ioType != 104){
            for (LocDetlDto detlDto : dto.getLocDetlDtos()) {
                if (detlDto.getCount()==null || detlDto.getCount() <= 0.0D) {continue;}
                WrkDetl wrkDetl = new WrkDetl();
@@ -277,6 +278,8 @@
                    throw new CoolException("保存工作档明细失败");
                }
            }
            }
            // 修改库位状态:   F.在库 ====>>> R.出库预约/P.拣料/盘点/并板出库中
            locMast = locMastService.selectById(dto.getLocNo());
            if (locMast.getLocSts().equals("F")) {