浏览代码

功率曲线

wangb@gyee-china.com 1 年之前
父节点
当前提交
9ead9e7edb

+ 1 - 1
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/controller/Economic/EconomicController.java

@@ -91,7 +91,7 @@ public class EconomicController {
                               @RequestParam(value = "endtime", required = false) String  endtime,
                               @RequestParam(value = "dateType", required = false) String dateType
     ) throws Exception {
-        List<List<Glqx>> curvefitting = null;
+        List<Glqx>curvefitting = null;
         if(StringUtils.isEmpty(type)) type = "-2";
         if(StringUtils.isEmpty(dateType)) dateType = "1";
 

+ 2 - 3
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/service/Economic/EconomicService.java

@@ -346,7 +346,7 @@ public class EconomicService {
 
 
 
-    public  List<List<Glqx>>  curveFittingList(String wpids, String type, String starttime, String endtime, String dateType) throws Exception {
+    public  List<Glqx> curveFittingList(String wpids, String type, String starttime, String endtime, String dateType) throws Exception {
         Map<String, List<List<Glqx>>> resultMap = new HashMap<>();
 
 
@@ -413,12 +413,11 @@ public class EconomicService {
                 }
             }
             vo.add(vos);
-            tempList.add(vo);
 
 
 
         }
 
-        return tempList;
+        return vo;
     }
 }