| 12345678910111213141516 |
- package com.goldenwater.web.controller.hzz;
- import com.goldenwater.common.core.controller.BaseController;
- import com.goldenwater.common.core.domain.AjaxResult;
- import com.goldenwater.hzz.service.AssessService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.*;
- @RestController
- @RequestMapping("/hzz/assess")
- public class AssessController extends BaseController {
- @Autowired private AssessService service;
- @GetMapping("/totalScore") public AjaxResult totalScore(@RequestParam String adCode, @RequestParam String assTime, @RequestParam String effDate) { return success(service.getTotalScore(adCode,assTime,effDate)); }
- @GetMapping("/mthNameAndScore") public AjaxResult mthNameAndScore(@RequestParam String adCode, @RequestParam String assTime, @RequestParam String effDate) { return success(service.getMthNameAndScore(adCode,assTime,effDate)); }
- @GetMapping("/methodFile") public AjaxResult methodFile(@RequestParam String adCode, @RequestParam String effDate) { return success(service.getMethodFile(adCode,effDate)); }
- @GetMapping("/fileText") public AjaxResult fileText(@RequestParam String mdCode, @RequestParam String effDate, @RequestParam String exprDate) { return success(service.getAttFileText(mdCode,effDate,exprDate)); }
- }
|