update
This commit is contained in:
parent
92f97fde98
commit
6e33251069
@ -122,13 +122,16 @@ class BidSecurityRefundLogic extends BaseLogic
|
||||
$data = BidSecurityRefund::field('id,project_id,bid_security_apply_id,refund_amount,refund_date,remark,annex,bank_account_id')->findOrEmpty($params['id']);
|
||||
$project = Project::field('custom_id,name,project_code')->where('id',$data['project_id'])->findOrEmpty();
|
||||
$custom = Custom::field('name')->where('id',$project['custom_id'])->findOrEmpty();
|
||||
$bid_security_apply = BidSecurityApply::field('bidding_decision_id')->where('id',$data['bid_security_apply_id'])->findOrEmpty();
|
||||
$bid_security_apply = BidSecurityApply::field('bidding_decision_id,deposit_bank,account_name,account')->where('id',$data['bid_security_apply_id'])->findOrEmpty();
|
||||
$bidding_decision = BidBiddingDecision::field('code,bidding_time')->where('id',$bid_security_apply['bidding_decision_id'])->findOrEmpty();
|
||||
$data['bidding_decision_code'] = $bidding_decision['code'];
|
||||
$data['custom_name'] = $custom['name'];
|
||||
$data['project_name'] = $project['name'];
|
||||
$data['project_code'] = $project['project_code'];
|
||||
$data['bidding_time'] = $bidding_decision['bidding_time'];
|
||||
$data['deposit_bank'] = $bid_security_apply['deposit_bank'];
|
||||
$data['account_name'] = $bid_security_apply['account_name'];
|
||||
$data['account'] = $bid_security_apply['account'];
|
||||
$data['bank_account_info'] = BankAccount::field('account_sn,deposit_bank,account_name,account')->where('id',$data['bank_account_id'])->findOrEmpty();
|
||||
return $data->toArray();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user