#
ytfl
2025-08-16 43be81738ea7a041bd78dabbbb580e688a0d6804
#
1个文件已修改
13 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -2145,12 +2145,17 @@
                        for (WrkDetl detl : wrkDetls) {
                            double anfme = wrkDetl.getAnfme() + detl.getAnfme();
                            double weight = wrkDetl.getWeight() + detl.getWeight();
                            double stockNum = wrkDetl.getStockNum() + detl.getStockNum();
                            double stockNum2 = wrkDetl.getStockNum2() + detl.getStockNum2();
                            if (wrkDetl.getStockNum() != null) {
                                double stockNum = wrkDetl.getStockNum() + detl.getStockNum();
                                wrkDetl.setStockNum(stockNum);
                            }
                            if (wrkDetl.getStockNum2() != null) {
                                double stockNum2 = wrkDetl.getStockNum2() + detl.getStockNum2();
                                wrkDetl.setStockNum2(stockNum2);
                            }
                            wrkDetl.setAnfme(anfme);
                            wrkDetl.setWeight(weight);
                            wrkDetl.setStockNum(stockNum);
                            wrkDetl.setStockNum2(stockNum2);
                        }
                        ledCommand.getMatDtos().add(new MatDto(