|
@@ -0,0 +1,32 @@
|
|
|
+package com.ims.eval.api;
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+
|
|
|
+ * @author hlf
|
|
|
+ * @date 2023/7/12 10:58
|
|
|
+ * 文件说明:
|
|
|
+ */
|
|
|
+@Slf4j
|
|
|
+@RestController
|
|
|
+@RequestMapping("//evaluation-api-home")
|
|
|
+public class HomeController {
|
|
|
+
|
|
|
+
|
|
|
+ public R listAll(String binSection, String year, String season) {
|
|
|
+ Map<String, Object> data = portalService.getPortalData(binSection, year, season);
|
|
|
+ return R.ok().data(data);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping(value = "listPage")
|
|
|
+ public R listpage(String binSection, String year, String season) {
|
|
|
+ Map<String, Object> data = portalService.getPortalData(binSection, year, season);
|
|
|
+
|
|
|
+ IPage<EvaluationPortal> list = portalService.listPage(binSection, year, season);
|
|
|
+ return R.ok().data(data);
|
|
|
+ }*/
|
|
|
+
|
|
|
+}
|