Class SchoolController
java.lang.Object
io.github.seenings.school.controller.SchoolController
- All Implemented Interfaces:
io.github.seenings.school.http.HttpSchoolService
@RestController
public class SchoolController
extends Object
implements io.github.seenings.school.http.HttpSchoolService
SchoolController
- Since:
- 2022-12-03
- Author:
- chixuehui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidToSchoolName(Set<String> ids) locationToSchoolCode(Set<String> locations) 根据所在地获取学校标识符schoolCodeToLocation(Set<String> schoolCodes) 根据学校标识符获取所在地List<io.github.seenings.school.model.School> toSchool()获取所有学校的信息List<io.github.seenings.school.model.School> uploadExcelAll(org.springframework.web.multipart.MultipartFile file)
-
Constructor Details
-
SchoolController
public SchoolController()
-
-
Method Details
-
idToSchoolName
-
locationToSchoolCode
-
schoolCodeToLocation
-
toSchool
获取所有学校的信息- Specified by:
toSchoolin interfaceio.github.seenings.school.http.HttpSchoolService- Returns:
- 所有学校的信息
-
uploadExcelAll
public List<io.github.seenings.school.model.School> uploadExcelAll(@RequestParam org.springframework.web.multipart.MultipartFile file) - Specified by:
uploadExcelAllin interfaceio.github.seenings.school.http.HttpSchoolService
-