AssessController.java 1.3 KB

12345678910111213141516
  1. package com.goldenwater.web.controller.hzz;
  2. import com.goldenwater.common.core.controller.BaseController;
  3. import com.goldenwater.common.core.domain.AjaxResult;
  4. import com.goldenwater.hzz.service.AssessService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.*;
  7. @RestController
  8. @RequestMapping("/hzz/assess")
  9. public class AssessController extends BaseController {
  10. @Autowired private AssessService service;
  11. @GetMapping("/totalScore") public AjaxResult totalScore(@RequestParam String adCode, @RequestParam String assTime, @RequestParam String effDate) { return success(service.getTotalScore(adCode,assTime,effDate)); }
  12. @GetMapping("/mthNameAndScore") public AjaxResult mthNameAndScore(@RequestParam String adCode, @RequestParam String assTime, @RequestParam String effDate) { return success(service.getMthNameAndScore(adCode,assTime,effDate)); }
  13. @GetMapping("/methodFile") public AjaxResult methodFile(@RequestParam String adCode, @RequestParam String effDate) { return success(service.getMethodFile(adCode,effDate)); }
  14. @GetMapping("/fileText") public AjaxResult fileText(@RequestParam String mdCode, @RequestParam String effDate, @RequestParam String exprDate) { return success(service.getAttFileText(mdCode,effDate,exprDate)); }
  15. }