角色修改
This commit is contained in:
@@ -38,7 +38,7 @@ public class SchsystemController {
|
|||||||
@GetMapping("list")
|
@GetMapping("list")
|
||||||
public List<AcademicStageSchsystemVO> getAcademicStageSchsystemList(@RequestParam(required = false) Integer schId) {
|
public List<AcademicStageSchsystemVO> getAcademicStageSchsystemList(@RequestParam(required = false) Integer schId) {
|
||||||
|
|
||||||
int roleId = UserContext.getRoleId();
|
Integer roleId = UserContext.getRoleId();
|
||||||
boolean isSuperAdmin = UserType.SUPER_ADMINISTRATOR.getId().equals(UserContext.getType());
|
boolean isSuperAdmin = UserType.SUPER_ADMINISTRATOR.getId().equals(UserContext.getType());
|
||||||
boolean isAreaAdmin = UserRole.AREAADMIN.getValue().equals(roleId);
|
boolean isAreaAdmin = UserRole.AREAADMIN.getValue().equals(roleId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user