作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

... ... @@ -45,7 +45,7 @@ class SalesmanorderController extends AdminBaseController{
}
$money = 0;
foreach($data_arr['data'] as $key => $val){
$data_arr['data'][$key]['grade_class'] = $val['school'].'-'.$val['grade'].$val['class'].'班';
$data_arr['data'][$key]['grade_class'] = $val['school'].'-'.$val['grade'].$val['class'];
$money += $data_arr['data'][$key]['money'];
}
$data_school = Db::name('indent') -> group('school') -> where('indent_type',2) -> select() -> toArray();
... ...