| | |
| | | @GetMapping("insertHistoryFiveMinutely") |
| | | @ApiOperation(value = "5分钟数据", notes = "5分钟数据") |
| | | public ResultMessage insertHistoryFiveMinutely() { |
| | | String format = DateUtils.yyyy_MM_dd_HH_mm_EN; |
| | | historyFiveMinutelyService.insertHistoryFiveMinutely(); |
| | | String s ="2023-10-13 03:35"; |
| | | String s1 ="2023-10-13 03:40"; |
| | | Date start = DateUtils.getDate(s,format); |
| | | Date end = DateUtils.getDate(s1,format); |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | |
| | | |
| | | @GetMapping("insertHistoryAqi") |
| | | @ApiOperation(value = "过控制战补偿", notes = "过控制战补偿") |
| | | public ResultMessage insertHistoryAqi() { |
| | | historyAqiService.insertHistoryAqi(); |
| | | public ResultMessage insertHistoryAqi(String time) { |
| | | historyAqiService.insertHistoryAqi(time); |
| | | return new ResultMessage(); |
| | | } |
| | | |