EasStuProfileController.java 899 B

12345678910111213141516171819202122232425262728
  1. package com.koobietech.eas.controller;
  2. import com.koobietech.eas.common.result.JsonResult;
  3. import com.koobietech.eas.mbg.model.EasArcTlsStudents;
  4. import com.koobietech.eas.service.EasStuProfileService;
  5. import org.springframework.web.bind.annotation.PostMapping;
  6. import org.springframework.web.bind.annotation.RequestBody;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.web.bind.annotation.RestController;
  9. import javax.annotation.Resource;
  10. import java.io.FileNotFoundException;
  11. @RestController
  12. public class EasStuProfileController {
  13. @Resource
  14. private EasStuProfileService easStuProfileService;
  15. @PostMapping("/StuProfileDownload")
  16. public JsonResult StuProfileDownload(@RequestBody EasArcTlsStudents easArcTlsStudents) throws FileNotFoundException {
  17. return easStuProfileService.StuProfileDownload(easArcTlsStudents);
  18. }
  19. }