chenhj
2026-04-21 2f20856ea3ca6f2f238ba66252164687f47fcd7e
src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
@@ -13,7 +13,7 @@
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletResponse;
import java.util.Arrays;
import java.util.List;
@@ -48,9 +48,8 @@
    @ApiOperation("删除报工")
    @DeleteMapping("/delete")
    @Transactional(rollbackFor = Exception.class)
    public R delete(@RequestBody ProductionProductMainDto productionProductMainDto) {
        return R.ok(productionProductMainService.removeProductMain(productionProductMainDto));
        return R.ok(productionProductMainService.removeProductMain(productionProductMainDto.getId()));
    }