|
@@ -0,0 +1,55 @@
|
|
|
|
+package com.gyee.consumer.controller.peranalysis;
|
|
|
|
+
|
|
|
|
+import com.gyee.consumer.service.peranalysis.PointPerSisService;
|
|
|
|
+import com.gyee.frame.common.domain.AjaxResult;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
+
|
|
|
|
+import javax.annotation.Resource;
|
|
|
|
+
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/pointpersis")
|
|
|
|
+@Api(value = "测点曲线分析", tags = "测点曲线分析")
|
|
|
|
+public class PointPerSisController {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Resource
|
|
|
|
+ private PointPerSisService pointPerSisService;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 测点曲线分析
|
|
|
|
+ * @param wtid
|
|
|
|
+ * @param beginDate
|
|
|
|
+ * @param endDate
|
|
|
|
+ * @param interval
|
|
|
|
+ * @param uniformcodes
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
|
+ @GetMapping(value = "/getPointPerSisList")
|
|
|
|
+ public AjaxResult getPointPerSisList(
|
|
|
|
+ @RequestParam(value = "wtid",required = true)String wtid,
|
|
|
|
+ @RequestParam(value = "beginDate",required = true)Long beginDate,
|
|
|
|
+ @RequestParam(value = "endDate",required = true)Long endDate,
|
|
|
|
+ @RequestParam(value = "interval",required = true)Integer interval,
|
|
|
|
+ @RequestParam(value = "uniformcodes",required = true)String uniformcodes
|
|
|
|
+
|
|
|
|
+ ){
|
|
|
|
+
|
|
|
|
+ AjaxResult ajax = pointPerSisService.getPointPerSisList(wtid,beginDate,endDate,interval,uniformcodes);
|
|
|
|
+
|
|
|
|
+ return ajax;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取测点
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
|
+ @GetMapping(value = "/getpoints")
|
|
|
|
+ public AjaxResult getpoints(){
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+}
|