StudentApplyRefundsController.java 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. package com.ym.mec.web.controller;
  2. import io.swagger.annotations.Api;
  3. import io.swagger.annotations.ApiOperation;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.security.access.prepost.PreAuthorize;
  6. import org.springframework.web.bind.annotation.GetMapping;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.web.bind.annotation.RestController;
  9. import com.ym.mec.biz.dal.page.StudentApplyrefundsQueryInfo;
  10. import com.ym.mec.biz.service.StudentApplyRefundsService;
  11. import com.ym.mec.common.controller.BaseController;
  12. @RequestMapping("studentRefunds")
  13. @Api(tags = "退费服务")
  14. @RestController
  15. public class StudentApplyRefundsController extends BaseController {
  16. @Autowired
  17. private StudentApplyRefundsService studentApplyRefundsService;
  18. @ApiOperation(value = "查询退费列表")
  19. @GetMapping("/queryPage")
  20. @PreAuthorize("@pcs.hasPermissions('studentRefunds/queryPage')")
  21. public Object queryPage(StudentApplyrefundsQueryInfo queryInfo){
  22. return succeed(studentApplyRefundsService.queryPage(queryInfo));
  23. }
  24. }