From f80e452fa31bf48257d4897a937747f211c91790 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Wed, 09 Aug 2023 13:49:47 +0800
Subject: [PATCH] chore:dev部分环境变化
---
screen-job/src/main/java/com/moral/api/controller/PubController.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/screen-job/src/main/java/com/moral/api/controller/PubController.java b/screen-job/src/main/java/com/moral/api/controller/PubController.java
index 7343dd5..16805cd 100644
--- a/screen-job/src/main/java/com/moral/api/controller/PubController.java
+++ b/screen-job/src/main/java/com/moral/api/controller/PubController.java
@@ -1,7 +1,9 @@
package com.moral.api.controller;
+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;
@@ -33,6 +35,11 @@
@Autowired
private HistoryFiveMinutelyService historyFiveMinutelyService;
+ @Autowired
+ private HistoryAqiService historyAqiService;
+ @Autowired
+ private HistoryHourlyService historyHourlyService;
+
@GetMapping("insertHistoryDaily")
@ApiOperation(value = "���������������", notes = "���������������")
public ResultMessage insertHistoryDaily(String time) {
@@ -49,6 +56,26 @@
return new ResultMessage();
}
+ @GetMapping("FiveMinutelyTest")
+ @ApiOperation(value = "5������������1", notes = "5������������1")
+ public ResultMessage FiveMinutelyTest(String yz,String mac) {
+ historyFiveMinutelyService.insertHistoryFiveMinutely(yz,mac);
+ return new ResultMessage();
+ }
+
+ @GetMapping("insertHistoryAqi")
+ @ApiOperation(value = "������������������", notes = "������������������")
+ public ResultMessage insertHistoryAqi() {
+ historyAqiService.insertHistoryAqi();
+ return new ResultMessage();
+ }
+
+ @GetMapping("dateToChangShu")
+ @ApiOperation(value = "������������������", notes = "������������������")
+ public ResultMessage dateToChangShu() {
+ historyHourlyService.dateToChangShu(null);
+ return new ResultMessage();
+ }
public static void main(String[] args) {
--
Gitblit v1.8.0