gongchunyi
6 天以前 1c7ac77edb8cdd6330ad1fc0958f383bbd064fce
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()));
    }