main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java
@@ -286,6 +286,7 @@ if (pendingInventoryDto.getOfficialId() == null) { OfficialInventory officialInventory = new OfficialInventory(); BeanUtils.copyProperties(pendingInventory, officialInventory); officialInventory.setPurchaseNumber(pendingInventory.getPurchaseNumber()); officialInventory.setId(null); officialInventory.setCoalPlanId(pendingInventoryDto.getCoalPlanId()); officialInventory.setPendingId(pendingInventoryDto.getPId());