From 2aaaaf4598b869085ae35871de018cd35847c232 Mon Sep 17 00:00:00 2001
From: aix <vip_xiaobin810@163.com>
Date: Tue, 09 Jul 2024 16:41:39 +0800
Subject: [PATCH] 航线拐点

---
 src/main/java/com/dji/sample/patches/controller/PatchesController.java |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/dji/sample/patches/controller/PatchesController.java b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
index fba9968..60a880c 100644
--- a/src/main/java/com/dji/sample/patches/controller/PatchesController.java
+++ b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
@@ -68,6 +68,7 @@
                                                         @RequestParam(name = "xmc", required = false) String xmc,
                                                         @RequestParam(name = "investigate", required = false) Integer investigate
     ) {
+        fileService.getNoaddFile();
         //调用service分页查询
         PatchesParam param = PatchesParam.builder()
                 .page(page)
@@ -152,7 +153,22 @@
             return ResponseResult.success(infoMap);
         }
 
+    @GetMapping("/useMyTask")
+    public ResponseResult useMyTask() throws Exception {
+        try {
+//            timerUtil.myTask();
+//            timerUtil.myTask2();
+//            timerUtil.myTask3();
+            timerUtil.mytask4();
+            timerUtil.mytask5();
+            timerUtil.mytask6();
+            timerUtil.mytask7();
 
+        } catch (Exception e) {
+            throw new RuntimeException("db存储发送出现异常" + e);
+        }
+        return ResponseResult.success();
+    }
 
     @GetMapping ("/tests")
     public ResponseResult use()  {
@@ -192,7 +208,6 @@
                                                                            @RequestParam String dkbh) {
 
         try {
-            fileService.getNoaddFile();
             PatchesParam param = PatchesParam.builder()
                     .page(page)
                     .workspaceId(workspaceId)

--
Gitblit v1.9.3