...
|
...
|
@@ -75,7 +75,9 @@ class OrderSalesmanController extends WeChatBaseController |
|
|
$where['school'] = ['eq',$param['school']];
|
|
|
}
|
|
|
if(!empty($param['grade'])){
|
|
|
$where['grade'] = ['eq',$param['grade']];
|
|
|
$param['grade'] = explode('—',$param['grade']);
|
|
|
$where['grade'] = ['eq',$param['grade'][0]];
|
|
|
$where['class'] = ['eq',$param['grade'][1]];
|
|
|
}
|
|
|
if(!empty($param['state'])){
|
|
|
$where['state'] = ['eq',$param['state']];
|
...
|
...
|
|