feat:material
This commit is contained in:
@@ -78,5 +78,17 @@ class MaterialController
|
||||
return (new MaterialService())->materialStockList();
|
||||
}
|
||||
|
||||
/**
|
||||
* 厨师成本列表
|
||||
* @param MaterialRequest $request
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: "chef_cost_list", methods: "GET")]
|
||||
#[Scene(scene: "chef_cost_list")]
|
||||
public function chefCostList(MaterialRequest $request): array
|
||||
{
|
||||
return (new MaterialService())->costListByChef();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user