|
@@ -71,6 +71,17 @@ public class StudentManageController extends BaseController {
|
|
|
return succeed(studentManageService.findStudentsByOrganId(queryInfo));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取指定分部学生列表")
|
|
|
+ @GetMapping("/queryOrganStudentList")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('studentManage/queryOrganStudentList')")
|
|
|
+ public Object queryOrganStudentList(StudentManageQueryInfo queryInfo){
|
|
|
+ if(StringUtils.isBlank(queryInfo.getOrganId())){
|
|
|
+ return failed("请指定分部");
|
|
|
+ }
|
|
|
+ queryInfo.setIsExport(false);
|
|
|
+ return succeed(studentManageService.findStudentsByOrganId(queryInfo));
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "学员注册")
|
|
|
@PostMapping("/register")
|
|
|
@PreAuthorize("@pcs.hasPermissions('studentManage/register')")
|