From aa925d851857f50eff0556411366690d9a78a0e5 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期一, 27 十一月 2023 17:30:26 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java index 51a35a9..b72b9d6 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java @@ -26,6 +26,7 @@ import com.dsh.guns.modular.system.model.*; import com.dsh.guns.modular.system.model.dto.*; import com.dsh.guns.modular.system.service.*; +import com.dsh.guns.modular.system.util.DateComparisonExample; import com.dsh.guns.modular.system.util.HttpRequestUtil; import com.dsh.guns.modular.system.util.ResultUtil; @@ -1021,9 +1022,11 @@ private SiteClient siteClient; + + @RequestMapping("/yuyuetimes/{id}") @ResponseBody - public List<OrderDto> yuyuetimes(@PathVariable("id") Integer id,String date) { + public List<OrderDto> yuyuetimes(@PathVariable("id") Integer id,String date,String siteName,String halfName) { System.out.println("=======date======"+date); List<String> strings = new ArrayList<>(); @@ -1043,9 +1046,7 @@ } System.out.println("======strings======="+strings); - List<OrderDto> timeRanges = new ArrayList<>(); - Site site = siteClient.listById(id); System.out.println("================"+site); @@ -1060,8 +1061,6 @@ }else { nextTime= getNextTime(currentTime); } -// String nextTime = getNextTime(currentTime); - String timeRange = currentTime + "-" + nextTime; OrderDto orderDto = new OrderDto(); @@ -1085,6 +1084,10 @@ System.out.println("-------------"+timeRanges); return timeRanges; + + + + } -- Gitblit v1.7.1