huminmin
15 小时以前 978c3b3b1f3b15e46fb4078f4aeb04e6d366f127
src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
@@ -59,4 +59,11 @@
        ExcelUtil<ProductionProductMainDto> util = new ExcelUtil<ProductionProductMainDto>(ProductionProductMainDto.class);
        util.exportExcel(response, list, "生产报工数据");
    }
    @ApiOperation("根据工单id查询报工数据")
    @GetMapping("/getByProductWorkOrderId/{productWorkOrderId}")
    public R getByProductWorkOrderId(@PathVariable Long productWorkOrderId) {
        return R.ok(productionProductMainService.getByProductWorkOrderId(productWorkOrderId));
    }
}