更新分包合同

This commit is contained in:
yaooo 2023-12-12 17:49:01 +08:00
parent 17cf115de5
commit 2406d3c022

View File

@ -133,6 +133,8 @@ class SubcontractingContractLogic extends BaseLogic
*/
public static function detail($params): array
{
return SubcontractingContract::findOrEmpty($params['id'])->toArray();
$subcontractingContract = SubcontractingContract::findOrEmpty($params['id']);
$subcontractingContract->project = $subcontractingContract->project;
return $subcontractingContract->toArray();
}
}