...
|
...
|
@@ -45,8 +45,9 @@ class AdminStatisticsController extends AdminBaseController{ |
|
|
|
|
|
echo strtotime('10:15:30');
|
|
|
|
|
|
$where['start_time']=['between',[strtotime(date('7:i:s')),strtotime(date('Y-m-d 12:i:s'))]];
|
|
|
$num=Db::name('order')->where($where)->count();
|
|
|
$sql="SELECT * FROM sleep_order where FROM_UNIXTIME(start_time,'%H:%i:%S')>'06:00:00' AND FROM_UNIXTIME(start_time,'%H:%i:%S')<'11:00:00'";
|
|
|
$num=Db::query($sql);
|
|
|
|
|
|
|
|
|
dump($num);
|
|
|
|
...
|
...
|
|