gongchunyi
7 天以前 e9517cc294c2d8252b5f1db8d214f6c1b0df1686
src/main/java/com/ruoyi/production/service/impl/ProductionBomStructureServiceImpl.java
@@ -223,9 +223,9 @@
            }
            BigDecimal demandedQuantity = lastProcessDemandedQuantity.multiply(defaultDecimal(structure.getUnitQuantity()));
            if (compareDecimal(structure.getDemandedQuantity(), demandedQuantity) == 0) {
                continue;
            }
//            if (compareDecimal(structure.getDemandedQuantity(), demandedQuantity) == 0) {
//                continue;
//            }
            ProductionBomStructure update = new ProductionBomStructure();
            update.setId(structure.getId());
            update.setDemandedQuantity(demandedQuantity);