This commit is contained in:
weiz 2024-01-25 16:41:09 +08:00
parent aaceb65987
commit 4fe33b9450

View File

@ -106,7 +106,7 @@
//中标项目
$successful = BidResult::field('id')->where('is_successful',1)->count();
//中标率
$bidding_rate = number_format($successful / $decision,2);
$bidding_rate = !empty($decision) ? number_format($successful / $decision,2) : 0;
//总的投标保证金金额
$total_margin_amount = BidBiddingDecision::where('is_margin',1)->sum('margin_amount');
//已退保证金金额