This commit is contained in:
chenbo 2024-02-29 10:05:11 +08:00
parent 53d348f1dd
commit 92eba38dbc

View File

@ -17,6 +17,7 @@ namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectProgressPayment;
use app\common\logic\BaseLogic;
use app\common\model\project_process_management\ProjectProgressPaymentDetail;
use think\facade\Db;
@ -120,6 +121,7 @@ class ProjectProgressPaymentLogic extends BaseLogic
{
$data = ProjectProgressPayment::with(['projectInfo'])->findOrEmpty($params['id'])->toArray();
$data['annex'] = json_decode($data['annex'], true);
$data['project_progress_payment_detail'] = ProjectProgressPaymentDetail::where('project_progress_payment_id', $data['id'])->select();
return $data;
}
}