zss
6 天以前 31caf36aa8df9a545ad128929b0b0e949cdb2d3c
src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
@@ -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()));
    }