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