liumiao
2021-01-29 2609760188cae08f0363186e543fcd89931cd067
根据学员获取课次
1 files modified
2 ■■■ changed files
app/Http/Controllers/Api/v1/ClassScheduleController.php 2 ●●● patch | view | raw | blame | history
app/Http/Controllers/Api/v1/ClassScheduleController.php
@@ -234,7 +234,7 @@
        //获取班级学员
        $coWhere = ["cs.classCode" => $classCode, "cs.status" => 1, "cs.isDelete" => 0, "cs.courseStatus" => 1, "cs.isDeleteReason" => 0,
            "s.status" => 1, "s.courseStatus" => 1, "s.isDelete" => 0];
        $coSelect = ["s.username", "s.name", "s.englishName", "s.phoneNumber", "s.headPhoto"];
        $coSelect = ["s.username", "s.name", "s.englishName", "s.phoneNumber", "s.faceImg as headPhoto"];
        $query = StudentsModel::getClassStudentsList();
        $classStudents = StudentsModel::getDataJoinList($query, $coWhere, $coSelect);
        $classMap = [];