src/main/java/com/ruoyi/production/service/impl/ProductOrderServiceImpl.java
@@ -277,7 +277,7 @@ } // 如果有数据先加库存 ProductOrder productOrder = productOrderMapper.selectById(productOrderDto.getId()); if (productOrder != null) { if (productOrder.getDrawMaterials() != null) { List<DrawMaterialDto> materialDtoList = JSON.parseArray(productOrder.getDrawMaterials(), DrawMaterialDto.class); for (DrawMaterialDto drawMaterialDto : materialDtoList) { stockUtils.addStock(drawMaterialDto.getProductModelId(), drawMaterialDto.getRequisitionQty(), null, productOrderDto.getId(),