| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @param pageNum |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "获取正常班级列表", notes = "") |
| | | @ApiOperation(value = "获取正学籍列表", notes = "") |
| | | @GetMapping(value = "/schoolList") |
| | | public Result schoolList(@RequestParam(defaultValue = "10") Integer limit, @RequestParam(defaultValue = "1") Integer pageNum,String keyword,String status) { |
| | | |
| | |
| | | "status", "createTime", "createTime")), |
| | | "schoolrollCount", count)); |
| | | } |
| | | |
| | | /** |
| | | * 给学员分配班级 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "给学员分配班级", notes = "") |
| | | @PutMapping(value = "/updateSchoolClass") |
| | | public String updateSchoolClass(String StudentId,String ClassId) { |
| | | return iSchoolRollService.updateSchool(StudentId, ClassId); |
| | | } |
| | | |
| | | /** |
| | | * 审核学员并生成学号 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "审核学员并生成学号", notes = "") |
| | | @PutMapping(value = "/auditStudent") |
| | | public Boolean auditStudent(String StudentId) { |
| | | return iSchoolRollService.auditStudent(StudentId); |
| | | } |
| | | |
| | | /** |
| | | * 导出学员信息 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "导出学员信息", notes = "") |
| | | @GetMapping(value = "/deriveStudentMessage") |
| | | public void deriveStudentMessage(String StudentId,String ClassId) { |
| | | iSchoolRollService.deriveStudentMessage(); |
| | | } |
| | | |
| | | } |