lyh
2025-06-27 218ab860ed4708f6f70a519775c56c9554000fe7
lxzn-module-eam/src/main/java/org/jeecg/modules/spare/service/impl/SparePartCancellingStocksServiceImpl.java
@@ -47,7 +47,7 @@
            for (SparePartCancellingStocksDetail entity : sparePartCancellingStocksDetailList) {
                entity.setStatus(CommonConstant.STATUS_0);
                SparePart sparePart = sparePartService.getById(entity.getSparePartId());
                entity.setAuxiliaryQuantity(entity.getMainQuantity() * Double.parseDouble(sparePart.getConversionRatio()));
               /* entity.setAuxiliaryQuantity(entity.getMainQuantity() * Double.parseDouble(sparePart.getConversionRatio()));*/
                //外键设置
                entity.setSparePartCancellingId(sparePartCancellingStocks.getId());
                sparePartCancellingStocksDetailMapper.insert(entity);