This commit is contained in:
weiz 2024-02-19 11:52:14 +08:00
parent 2e97359fde
commit 48f886539c

View File

@ -124,10 +124,11 @@ class BidDocumentExaminationLogic extends BaseLogic
$data['project_desc'] = $bid_decision['project_desc'];
$data['annex'] = $bid_decision['annex'];
$data['total_amount'] = BidDocumentExaminationDetail::where('bid_document_examination_id',$data['id'])->sum('sale_amount');
$approve_info = FlowApprove::field('id')->where('content_id',$params['id'])
$approve_info = FlowApprove::field('id,check_status')->where('content_id',$params['id'])
->where('content_model','app\common\model\bid\BidDocumentExamination')
->where('content_id',$params['id'])->findOrEmpty();
$data['approve_id'] = $approve_info['id'];
$data['approve_check_status'] = $approve_info['check_status'];
return $data->toArray();
}