#
LSH
2024-04-01 ebf01d1fff86f44c3b56151b5fefe6b92b30eab8
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -1609,8 +1609,8 @@
                if (wrkMast.getIoType() != 110 && wrkMast.getIoType() != 10) {
                    List<WrkDetl> wrkDetls = wrkDetlService.findByWorkNo(wrkMast.getWrkNo());
                    for (WrkDetl wrkDetl : wrkDetls){
                        Double aDouble = locDetlService.selectMatnrSpecs(wrkDetl.getMatnr(), wrkDetl.getSpecs(), wrkMast.getSourceLocNo());
                        wrkDetl.setWeight(aDouble);
                        LocDetl locDetl = locDetlService.selectMatnrSpecs(wrkDetl.getMatnr(), wrkDetl.getSpecs(), wrkMast.getSourceLocNo());
                        wrkDetl.setWeight(locDetl.getAnfme());
                    }
                    wrkDetls.forEach(wrkDetl -> ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme(),wrkDetl.getWeight(),wrkDetl.getSpecs())));
                }