stanley-king 1 year ago
parent
commit
5295172fb3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      data/model/refill_exception.model.php
  2. 1 1
      test/TestCommand.php

+ 1 - 1
data/model/refill_exception.model.php

@@ -18,7 +18,7 @@ class refill_exceptionModel extends Model
         parent::__construct('refill_exception');
     }
 
-    public function getExceptionList($condition, $pagesize = '',$total = 0, $field = '*', $order = 'add_time desc', $limit = '', $master = false)
+    public function getExceptionList($condition, $pagesize = '',$total = 0, $field = '*', $order = 'order_time desc', $limit = '', $master = false)
     {
         $list = $this->table('refill_exception,refill_order')
             ->field($field)->where($condition)

+ 1 - 1
test/TestCommand.php

@@ -134,7 +134,7 @@ class TestCommand extends TestCase
                 'order_state' => ORDER_STATE_SUCCESS,
                 'vr_order.order_id' => ['gt', $start],
                 'store_id' => 33,
-                'order_time' => ['lt', strtotime("2023-05-24 15:00:00")]
+                'order_time' => ['lt', strtotime("2023-05-24 18:00:00")]
             ];
 
             $items = $mod->table('refill_order,vr_order')