| | |
| | | IClassLectureService clsLectureService; |
| | | |
| | | //---------------------------------------------------------------------------------app接口--------------------------------------------------------------------------------------------------------------------/ |
| | | |
| | | /** |
| | | * 获取正常班级列表 |
| | | * |
| | |
| | | /** |
| | | * 获取首页数据排行 |
| | | * |
| | | * |
| | | * @param subjectId |
| | | */ |
| | | @ApiOperation(value = "班级排行榜", notes = "") |
| | |
| | | |
| | | /** |
| | | * 学员课程进度 |
| | | * |
| | | * |
| | | * @param subjectId |
| | | */ |
| | |
| | | /** |
| | | * 班级学员课程总体进度 |
| | | * |
| | | * |
| | | * @param classId |
| | | */ |
| | | @ApiOperation(value = "班级学员课程总体进度", notes = "") |
| | |
| | | |
| | | /** |
| | | * 班级学员课件总体进度 |
| | | * |
| | | * |
| | | * @param classId |
| | | */ |
| | |
| | | return new Result(false, "日期参数错误"); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 新增补考分组 |
| | | * |
| | | * @param className 班级名称 |
| | | * @param classNumber 班级编码 |
| | | * @param startTime 开班时间 |
| | |
| | | * @param mobilePhone 手机号 |
| | | */ |
| | | @PostMapping(value = "addStudent") |
| | | public Result addStudent(String classId, String name, String studentNumber, Boolean sex, String mobilePhone,String comName) { |
| | | public Result addStudent(String classId, String name, String studentNumber, Boolean sex, String mobilePhone, String comName, |
| | | String photo, String passporName, String nationality, String ancestralHome, String birthday, String birthplace, |
| | | String chinaStatus, String registeredAddress, String homeAddress, String religiousBelief, String email, |
| | | String workUnit) { |
| | | |
| | | return studentService.insertStudent(classId, name, studentNumber, sex, mobilePhone, ClientUtils.getOrgId(),comName); |
| | | return studentService.insertStudent(classId, name, studentNumber, sex, mobilePhone, ClientUtils.getOrgId(), comName, |
| | | photo, passporName, nationality, ancestralHome, birthday, birthplace, |
| | | chinaStatus, registeredAddress, homeAddress, religiousBelief, email, |
| | | workUnit); |
| | | |
| | | } |
| | | |
| | |
| | | * @param mobilePhone 手机号 |
| | | */ |
| | | @PostMapping(value = "updateStudent") |
| | | public Result updateStudent(String studentId, String name,String password, String studentNumber, Boolean sex, String mobilePhone) { |
| | | public Result updateStudent(String studentId, String name, String password, String studentNumber, Boolean sex, String mobilePhone, |
| | | String photo, String passporName, String nationality, String ancestralHome, String birthday, String birthplace, |
| | | String chinaStatus, String registeredAddress, String homeAddress, String religiousBelief, String email, |
| | | String workUnit, String graduationDestination) { |
| | | |
| | | return studentService.updateStudent(studentId, name,password, studentNumber, sex, mobilePhone); |
| | | return studentService.updateStudent(studentId, name, password, studentNumber, sex, mobilePhone, |
| | | photo, passporName, nationality, ancestralHome, birthday, birthplace, |
| | | chinaStatus, registeredAddress, homeAddress, religiousBelief, email, |
| | | workUnit, graduationDestination); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 添加班级课程 |
| | | * |
| | | * @throws InvocationTargetException |
| | | * @throws IllegalAccessException |
| | | * |
| | | */ |
| | | @PostMapping(value = "addClsSubject") |
| | | public Result addClsSubject(String classId, String origSubjectId,String teacherId,Integer schoolYear ,Integer term) throws IllegalAccessException, InvocationTargetException { |
| | |
| | | |
| | | /** |
| | | * 所有班级列表 |
| | | * |
| | | * @param subjectId 根据subjectId过滤 |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/selectlist", method = RequestMethod.GET) |
| | | public @ResponseBody List<Map<String,Object>> classList() { |
| | | public @ResponseBody |
| | | List<Map<String, Object>> classList() { |
| | | return classService.queryAllClassIdAndName(); |
| | | } |
| | | |