| | |
| | | import com.moral.api.service.HistoryAqiService; |
| | | import com.moral.api.service.HistoryDailyService; |
| | | import com.moral.api.service.HistoryFiveMinutelyService; |
| | | import com.moral.api.service.HistoryHourlyService; |
| | | import com.moral.constant.ResultMessage; |
| | | import com.moral.util.DateUtils; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | @Autowired |
| | | private HistoryAqiService historyAqiService; |
| | | @Autowired |
| | | private HistoryHourlyService historyHourlyService; |
| | | |
| | | @GetMapping("insertHistoryDaily") |
| | | @ApiOperation(value = "天数据补录", notes = "天数据补录") |
| | |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | @GetMapping("dateToChangShu") |
| | | @ApiOperation(value = "常熟小时数据", notes = "常熟小时数据") |
| | | public ResultMessage dateToChangShu() { |
| | | historyHourlyService.dateToChangShu(null); |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | String s = "2023-9-01"; |