This commit is contained in:
weiz 2024-02-20 09:02:46 +08:00
parent b67fc3956e
commit bb7582be81

View File

@ -78,7 +78,7 @@ class MaterialPurchaseRequestController extends BaseAdminController
public function flows(): \think\response\Json
{
$flow_type = FlowType::where('type',5)->where('name','clsg')->findOrEmpty();
$flow_type = FlowType::where('type',5)->where('name','cgsg')->findOrEmpty();
$data = Flow::field('id,name')->where('flow_cate',$flow_type['id'])->where('status',2)->select();
return $this->success('请求成功',$data->toArray());
}