Commit d527b88d authored by shajiaiming's avatar shajiaiming

fix

parent f811852e
...@@ -308,8 +308,8 @@ class AirDropController extends BaseController ...@@ -308,8 +308,8 @@ class AirDropController extends BaseController
$record = AirDropApplyRecord::find() $record = AirDropApplyRecord::find()
->where(['apply_id' => $model->id, 'draw_status' => AirDropApplyRecord::STATUS_UNDRAW]) ->where(['apply_id' => $model->id, 'draw_status' => AirDropApplyRecord::STATUS_UNDRAW])
->andWhere(['<', 'create_time', $expiry_date]) ->andWhere(['<', 'create_time', $expiry_date])
->limit(1)
->orderBy('id') ->orderBy('id')
->limit(1)
->one(); ->one();
if (empty($record)) { if (empty($record)) {
......
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