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