修改考试设置表格

This commit is contained in:
cxdbz committed 2020-02-07 08:01:49 +08:00
1 parent acd4180181
commit a30ed5b256
146 files changed
+3216 -2782

No files matched your search

+2 -2
View File
@@ -40,7 +40,7 @@ class School extends Base
{
$src = [
'field'=>'paixu',
'type'=>'asc',
'order'=>'asc',
'jibie'=>array(),
'xingzhi'=>array(),
'searchval'=>''
@@ -58,7 +58,7 @@ class School extends Base
// 查询数据
$data = $this
->order([$src['field'] =>$src['type']])
->order([$src['field'] =>$src['order']])
->when(count($xingzhi)>0,function($query) use($xingzhi){
$query->where('xingzhi','in',$xingzhi);
})