|
@@ -300,9 +300,9 @@ public class UserController {
|
|
|
public void exportStudentList(@Validated UserPageReqVO exportReqVO,
|
|
|
HttpServletResponse response) throws IOException {
|
|
|
exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
|
- List<teacherImportExcelVO> list = BeanUtils.toBean(userService.getUserPage1(exportReqVO).getList(),teacherImportExcelVO.class) ;
|
|
|
+ List<StudentImportExcelVO> list = BeanUtils.toBean(userService.getUserPage1(exportReqVO).getList(),StudentImportExcelVO.class) ;
|
|
|
// 输出 Excel
|
|
|
- ExcelUtils.write(response, "导师数据.xls", "数据", teacherImportExcelVO.class, list);
|
|
|
+ ExcelUtils.write(response, "在校生数据.xls", "数据", StudentImportExcelVO.class, list);
|
|
|
}
|
|
|
@GetMapping("/exportGraduate")
|
|
|
@Operation(summary = "导出毕业生")
|
|
@@ -311,11 +311,22 @@ public class UserController {
|
|
|
public void exportGraduateList(@Validated UserPageReqVO exportReqVO,
|
|
|
HttpServletResponse response) throws IOException {
|
|
|
exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
|
- List<teacherImportExcelVO> list = BeanUtils.toBean(userService.getGraduateStudentPage(exportReqVO).getList(),teacherImportExcelVO.class) ;
|
|
|
+ List<graduateStudentImportExcelVO> list = BeanUtils.toBean(userService.getGraduateStudentPage(exportReqVO).getList(),graduateStudentImportExcelVO.class) ;
|
|
|
// 输出 Excel
|
|
|
- ExcelUtils.write(response, "导师数据.xls", "数据", teacherImportExcelVO.class, list);
|
|
|
+ ExcelUtils.write(response, "毕业生数据.xls", "数据", graduateStudentImportExcelVO.class, list);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/exportFace")
|
|
|
+ @Operation(summary = "导出人脸信息")
|
|
|
+ @PreAuthorize("@ss.hasPermission('system:user:exportFace')")
|
|
|
+ @ApiAccessLog(operateType = EXPORT)
|
|
|
+ public void exportFace(@Validated UserPageReqVO exportReqVO,
|
|
|
+ HttpServletResponse response) throws IOException {
|
|
|
+ exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
|
+ List<faceImportExcelVO> list = BeanUtils.toBean(userService.getGraduateStudentPage(exportReqVO).getList(),faceImportExcelVO.class) ;
|
|
|
+ // 输出 Excel
|
|
|
+ ExcelUtils.write(response, "人脸信息数据.xls", "数据", faceImportExcelVO.class, list);
|
|
|
+ }
|
|
|
|
|
|
@GetMapping("/get-import-template")
|
|
|
@Operation(summary = "获得用户模板")
|