This commit is contained in:
weiz 2024-03-26 11:16:25 +08:00
parent 8e49ffd530
commit ad147fb729

View File

@ -114,7 +114,7 @@
return $data->isEmpty() ? '数据不存在' : true;
}
public function checkProject($value): bool|string
public function checkContract($value): bool|string
{
$data = CostApprovedProject::where('id', $value)->findOrEmpty();
return $data->isEmpty() ? '合同信息不存在' : true;