buhuazhen
6 天以前 51137ccd0d1ced9e8803647746c33ab4bf993b37
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);