From 5e2f02b1eaef4ed8882a93ea4296109fbfb52c9f Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期一, 26 九月 2022 15:15:09 +0800 Subject: [PATCH] 更新 --- src/main/java/com/whyc/controller/BattGroupDataController.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whyc/controller/BattGroupDataController.java b/src/main/java/com/whyc/controller/BattGroupDataController.java index 890d186..47ff13b 100644 --- a/src/main/java/com/whyc/controller/BattGroupDataController.java +++ b/src/main/java/com/whyc/controller/BattGroupDataController.java @@ -11,8 +11,8 @@ import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; -import javax.annotation.Resource; import java.util.List; +import java.util.Map; @Api(tags = "鐢垫睜缁勬暟鎹�") @RestController @@ -24,9 +24,10 @@ @ApiOperation("鍗曟暟鎹垎鏋�-鍗曚綋鏁版嵁鍒楄〃") @GetMapping("list") - public Response getListWithTestTime(@RequestParam String fieldId){ - List<BattgroupData> monList = service.getListWithTestTime(fieldId); - return new Response().set(1,monList); + public Response getListWithTestTime(@RequestParam String fileId){ + List<BattgroupData> monList = service.getListWithTestTime(fileId); + Map<String,String> map = service.getStandardDeviation(monList); + return new Response().setII(1,monList,map,null); } @ApiOperation(value = "瀵规瘮鍒嗘瀽-涓ょ粍鏁版嵁鍒楄〃",notes = "data:绗竴琛岀殑鍩虹鏁版嵁,data2:绗簩琛岀殑鍩虹鏁版嵁," + -- Gitblit v1.9.1