src/main/java/com/ruoyi/production/pojo/ProductionAccount.java
@@ -27,12 +27,6 @@ @TableId(value = "id", type = IdType.AUTO) private Long id; @Schema(description = "销售台账id") private Long salesLedgerId; @Schema(description = "销售产品规格id") private Long salesLedgerProductId; @Schema(description = "报工表id") private Long productionProductMainId; src/main/java/com/ruoyi/production/pojo/ProductionProductInput.java
@@ -14,9 +14,6 @@ @TableId(type = IdType.AUTO) private Long id; @Schema(description = "报工id") private Long productMainId; @Schema(description = "生产报工主表id") private Long productionProductMainId; src/main/java/com/ruoyi/production/pojo/ProductionProductOutput.java
@@ -14,9 +14,6 @@ @TableId(type = IdType.AUTO) private Long id; @Schema(description = "报工id") private Long productMainId; @Schema(description = "生产报工主表id") private Long productionProductMainId; src/main/java/com/ruoyi/production/service/impl/ProductionOrderServiceImpl.java
@@ -855,12 +855,10 @@ if (reportOutput == null) { continue; } Long reportMainId = reportOutput.getProductionProductMainId() != null ? reportOutput.getProductionProductMainId() : reportOutput.getProductMainId(); if (reportMainId == null) { if (reportOutput.getProductionProductMainId() == null) { continue; } Long reportMainId = reportOutput.getProductionProductMainId(); reportOutputMap.computeIfAbsent(reportMainId, k -> new ArrayList<>()).add(reportOutput); } src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java
@@ -291,7 +291,6 @@ // 当前实现按工序成品直接作为投入,后续若接入领料记录可在这里替换来源。 ProductionProductInput productionProductInput = new ProductionProductInput(); productionProductInput.setProductionProductMainId(productionProductMain.getId()); productionProductInput.setProductMainId(productionProductMain.getId()); productionProductInput.setProductModelId(item.getProductModelId()); productionProductInput.setInputQuantity(item.getUnitQuantity().multiply(defaultDecimal(dto.getQuantity()))); productionProductInput.setQuantity(productionProductInput.getInputQuantity()); @@ -300,7 +299,6 @@ ProductionProductOutput productionProductOutput = new ProductionProductOutput(); productionProductOutput.setProductionProductMainId(productionProductMain.getId()); productionProductOutput.setProductMainId(productionProductMain.getId()); productionProductOutput.setProductModelId(productModel.getId()); productionProductOutput.setQuantity(defaultDecimal(dto.getQuantity())); productionProductOutput.setScrapQty(defaultDecimal(dto.getScrapQty()));