gongchunyi
22 小时以前 4f08374c14dd723feae9b84eeb959803f3378cf7
src/main/java/com/ruoyi/production/controller/ProductMaterialController.java
@@ -56,7 +56,7 @@
    @GetMapping("/listQuery")
    @ApiOperation("物料数据类别子类数据集合")
    @Log(title = "物料数据类别子类数据集合", businessType = BusinessType.OTHER)
    public AjaxResult productMaterialListByQuery(@RequestParam(value = "materialName", required = false) String materialName, @RequestParam(value = "materialTypeId", required = false) Integer materialTypeId) {
    public AjaxResult productMaterialListByQuery(@RequestParam(value = "productName", required = false) String materialName, @RequestParam(value = "materialTypeId", required = false) Integer materialTypeId) {
        List<ProductMaterialGroupDto> productMaterialMap = productMaterialService.productMaterialListByQuery(materialName, materialTypeId);
        return AjaxResult.success(productMaterialMap);
    }