error data
This commit is contained in:
@@ -60,12 +60,6 @@ public class SchTeacherController extends BaseController {
|
||||
schTeacherService.saveTeacher(UserContext.getCurrentUser(),model);
|
||||
}
|
||||
|
||||
@PostMapping("delete/{ids}")
|
||||
public void deleteTeacher(@PathVariable String ids ) {
|
||||
schTeacherService.deleteTeacher(UserContext.getCurrentUser(),ids);
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("moveGroup")
|
||||
public void moveGroup(@Valid @RequestBody TeaTransferGroupDTO model) {
|
||||
schTeacherService.moveGroup(UserContext.getCurrentUser(),model);
|
||||
@@ -76,6 +70,11 @@ public class SchTeacherController extends BaseController {
|
||||
schTeacherService.setTeacherStatus(UserContext.getCurrentUser(),ids,status);
|
||||
}
|
||||
|
||||
@PostMapping("delete")
|
||||
public void deleteTeacher(String ids ,Integer groupId) {
|
||||
schTeacherService.deleteTeacher(UserContext.getCurrentUser(),ids,groupId);
|
||||
}
|
||||
|
||||
@GetMapping("groupSelect") // 当前用户
|
||||
public List<SelectIntVO> toTeacherGroupSelect() {
|
||||
return schTeacherService.toTeacherGroupSelect(UserContext.getSchId());
|
||||
|
||||
Reference in New Issue
Block a user