|
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
@RequestMapping("classGroupStudent")
|
|
|
@Api(tags = "班级学生服务")
|
|
@@ -79,4 +80,14 @@ public class ClassGroupStudentController extends BaseController {
|
|
|
public Object queryHoliday(String year) throws IOException {
|
|
|
return succeed(classGroupStudentMapperService.queryHoliday(year));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "修改班级学员")
|
|
|
+ @PostMapping("/updateClassGroupStudents")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('classGroupStudent/updateClassGroupStudents')")
|
|
|
+ public HttpResponseResult updateClassGroupStudents(Long classGroupId, String studentIds){
|
|
|
+ if(Objects.isNull(classGroupId)){
|
|
|
+ return failed("请指定班级");
|
|
|
+ }
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
}
|