|
@@ -207,7 +207,6 @@ public class SysController {
|
|
if (Objects.isNull(basicSchool)) {
|
|
if (Objects.isNull(basicSchool)) {
|
|
throw ExceptionResultEnum.SCHOOL_NO_DATA.exception();
|
|
throw ExceptionResultEnum.SCHOOL_NO_DATA.exception();
|
|
}
|
|
}
|
|
- SchoolResult schoolResult = new SchoolResult(basicSchool);
|
|
|
|
- return ResultUtil.ok(schoolResult);
|
|
|
|
|
|
+ return ResultUtil.ok(new SchoolResult(basicSchool));
|
|
}
|
|
}
|
|
}
|
|
}
|