src/main/java/com/ruoyi/sales/service/impl/SalesLedgerProductServiceImpl.java
@@ -215,7 +215,7 @@ */ public void addProductionData(SalesLedgerProduct salesLedgerProduct) { //先判断该产品是否需要生产 if (salesLedgerProduct.getIsProduction()) { if (Boolean.TRUE.equals(salesLedgerProduct.getIsProduction())) { SalesLedger salesLedger = salesLedgerMapper.selectById(salesLedgerProduct.getSalesLedgerId()); ProductionPlan productionPlan = new ProductionPlan(); productionPlan.setSalesLedgerId(salesLedgerProduct.getSalesLedgerId());