Commit fb1dd95b authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/airdrop' into 'master'

减少筛选条件 See merge request !324
parents 44be4f92 8482a708
......@@ -115,7 +115,7 @@ class AirDropController extends BaseController
}
$this->data = AirDropApplyRecord::find()
->where(['apply_id' => $model['id'], 'reach' => AirDropApplyRecord::REACH_YES, 'draw_status' => AirDropApplyRecord::STATUS_DRAW_SUEEESS])
->where(['apply_id' => $model['id'], 'reach' => AirDropApplyRecord::REACH_YES])
->sum('amount');
if (empty($this->data)) {
$this->data = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment