Class SchoolController
java.lang.Object
io.github.seenings.school.controller.SchoolController
- All Implemented Interfaces:
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) 根据学校标识符获取所在地toSchool()获取所有学校的信息uploadExcelAll(org.springframework.web.multipart.MultipartFile file)
-
Constructor Details
-
SchoolController
public SchoolController()
-
-
Method Details
-
idToSchoolName
- Specified by:
idToSchoolNamein interfaceHttpSchoolService
-
locationToSchoolCode
根据所在地获取学校标识符- Specified by:
locationToSchoolCodein interfaceHttpSchoolService- Parameters:
locations- 所在地- Returns:
- 所在地对应学校标识符
-
schoolCodeToLocation
根据学校标识符获取所在地- Specified by:
schoolCodeToLocationin interfaceHttpSchoolService- Parameters:
schoolCodes- 学校标识符- Returns:
- 学校标识符对应所在地
-
toSchool
获取所有学校的信息- Specified by:
toSchoolin interfaceHttpSchoolService- Returns:
- 所有学校的信息
-
uploadExcelAll
public List<School> uploadExcelAll(@RequestParam org.springframework.web.multipart.MultipartFile file) - Specified by:
uploadExcelAllin interfaceHttpSchoolService
-