From 44251a92dc85a93eff59704b40b07830bde8d16f Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Thu, 27 Jul 2023 15:38:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/cjl' into qa

---
 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