|
@@ -28,10 +28,10 @@ class Dashboard extends Backend
|
|
|
$this->model = new \app\admin\model\shopro\order\Order;
|
|
|
$where = [
|
|
|
'createtime' => ['between', [$startTime, $endTime]],
|
|
|
- 'special_num' => ['>', 0]
|
|
|
];
|
|
|
$list = $this->model
|
|
|
->where($where)
|
|
|
+ ->where('special_num','>',0)
|
|
|
->with('item')
|
|
|
->order('id')
|
|
|
->select();
|