更新细节

This commit is contained in:
yaooo 2023-12-19 16:31:56 +08:00
parent 51a0557cdd
commit 89cd904b57

View File

@ -123,10 +123,10 @@ class BidSecurityRefundLogic extends BaseLogic
$bidSecurityRefund->project = null;
$bidSecurityRefund->custom = null;
if (!empty($bidSecurityRefund->decision->project_id)) {
$bidSecurityRefund->project = Project::findOrEmpty($bidSecurityApply->decision->project_id);
$bidSecurityRefund->project = Project::findOrEmpty($bidSecurityRefund->decision->project_id);
}
if (!empty($bidSecurityRefund->project->custom_id)) {
$bidSecurityRefund->custom = Custom::findOrEmpty($bidSecurityApply->project->custom_id);
$bidSecurityRefund->custom = Custom::findOrEmpty($bidSecurityRefund->project->custom_id);
}
return $bidSecurityRefund->toArray();
}