|
@@ -52,7 +52,6 @@ class Lessonslot extends Backend
|
|
|
if ($this->request->request('keyField')) {
|
|
|
return $this->selectpage();
|
|
|
}
|
|
|
- list($where, $sort, $order, $offset, $limit) = $this->buildparams();
|
|
|
|
|
|
//按周翻页
|
|
|
$week_current = input('week_current','');
|
|
@@ -60,7 +59,9 @@ class Lessonslot extends Backend
|
|
|
$starttime = strtotime('this week Monday') + (86400*7*$week_current);
|
|
|
$endtime = $starttime + (86400*7);
|
|
|
$where = ['lessonslot.starttime'=>['between',[$starttime,$endtime]]];
|
|
|
- $limit = 9999;
|
|
|
+ $limit = 999999;
|
|
|
+ }else{
|
|
|
+ list($where, $sort, $order, $offset, $limit) = $this->buildparams();
|
|
|
}
|
|
|
|
|
|
$list = $this->model
|