gongchunyi
2 天以前 9f3689ea26fd2158ffafd31a7932b1e685b0252b
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()));
    }