liumiao
2021-01-25 6648ab73796c11cad2068cf1dfb95e964d843115
根据学员获取课次
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
@@ -41,7 +41,7 @@
        $startTime = $request->post("startTime");
        $where = ["s.username" => $username, "s.status" => 1, "s.courseStatus" => 1, "s.isDelete" => 0,
            "ct.isDelete" => 0, "ct.status" => 1, "ct.startTime" => $startTime];
        $select = ["ct.classNumber", "ctt.contentTime", "c.className", "ct.classCode"];
        $select = ["ct.classNumber", "ctt.contentTime", "c.className", "ct.classCode", "s.id as studentId"];
        $list = StudentsModel::getDataJoinList(StudentsModel::studentCourseList(), $where, $select);
        //查询当天学员已经打过卡的学员