师生名单修改完成

This commit is contained in:
巴掌 committed 2020-03-27 11:34:51 +08:00
1 parent 7e9310e4dd
commit 39eff8122d
16 files changed
+412 -426

No files matched your search

+2 -2
View File
@@ -127,7 +127,7 @@
// 单位列表
function schoolList($low = '班级', $high = '其它级')
function schoolList($low = '班级', $high = '其它级', $order = 'asc')
{
// 实例化单位模型
$sch = new \app\system\model\School;
@@ -141,7 +141,7 @@
// 查询学校
$schlist = $sch->where('jibie_id', 'between', [$catlist[$low], $catlist[$high]])
->where('status', 1)
->order(['paixu'])
->order(['jibie_id'=>$order,'paixu'])
->field('id, title, jiancheng')
->select();