gongchunyi
2 天以前 f05fd2a067d751333f00a81dad095a7650900c95
src/main/java/com/ruoyi/production/controller/ProductMaterialController.java
@@ -45,8 +45,8 @@
    @GetMapping("/list")
    @ApiOperation("物料数据类别数据集合")
    @Log(title = "物料数据类别数据集合", businessType = BusinessType.OTHER)
    public AjaxResult productMaterialList() {
        List<ProductMaterialGroupDto> productMaterialMap = productMaterialService.ProductMaterialList();
    public AjaxResult productMaterialList(@RequestParam("type") Integer type) {
        List<ProductMaterialGroupDto> productMaterialMap = productMaterialService.ProductMaterialList(type);
        return AjaxResult.success(productMaterialMap);
    }