...
|
...
|
@@ -52,11 +52,9 @@ class SalesmanorderController extends AdminBaseController{ |
|
|
$money += $data_arr['data'][$key]['money'];
|
|
|
}
|
|
|
}
|
|
|
$data_school = Db::name('indent') -> group('school') -> where('indent_type',2) -> select() -> toArray();
|
|
|
$data_school = Db::name('school') -> group('school') -> select() -> toArray();
|
|
|
foreach($data_school as $key => $val){
|
|
|
if(!empty($val['school'])){
|
|
|
$school[$key] = $val['school'];
|
|
|
}
|
|
|
$school[$key] = $val['school'];
|
|
|
}
|
|
|
$uid = Db::name('my_user') -> alias('a') -> join('user b','a.uid = b.id','LEFT') -> where('a.status = 2') -> select();
|
|
|
/* foreach($uid as $key => $val){
|
...
|
...
|
|