haru haru 3 лет назад
Родитель
Сommit
d221771a22
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      admin/control/refill_order_manual.php

+ 1 - 1
admin/control/refill_order_manual.php

@@ -447,7 +447,7 @@ class refill_order_manualControl extends SystemControl
             $card_nos = rtrim($_GET['card_nos'],',');
             $condition['refill_order.card_no'] = ['in', $card_nos];
         }
-        $item = Model('')->table('refill_detail')->field('min(order_time) as mintime')->where(['order_time' => ['egt',time()-1 * 86400],'order_state'=>30])->find();
+        $item = Model('')->table('refill_detail')->field('min(order_time) as mintime')->where(['order_state'=>30])->find();
         if (empty($item['mintime'])) {
             $start_day = $cur_time - 3600;
         } else {