From 5ef407e617576a83c9b8c25ce510f263ed031d03 Mon Sep 17 00:00:00 2001
From: swb <jpy123456>
Date: Wed, 03 Jul 2024 15:02:17 +0800
Subject: [PATCH] fix:走航车排名接口提交
---
screen-job/src/main/java/com/moral/api/task/HistoryTableInsertTask.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/screen-job/src/main/java/com/moral/api/task/HistoryTableInsertTask.java b/screen-job/src/main/java/com/moral/api/task/HistoryTableInsertTask.java
index 9ae95c9..c4a6323 100644
--- a/screen-job/src/main/java/com/moral/api/task/HistoryTableInsertTask.java
+++ b/screen-job/src/main/java/com/moral/api/task/HistoryTableInsertTask.java
@@ -7,8 +7,10 @@
import com.moral.api.service.HistoryFiveMinutelyService;
import com.moral.api.service.HistoryHourlyService;
import com.moral.api.service.HistoryMonthlyService;
+import com.moral.api.service.HistorySecondCruiserService;
import com.moral.api.service.HistoryWeeklyService;
import com.moral.api.service.ManageCoordinateDetailService;
+import com.moral.api.service.impl.HistorySecondCruiserServiceImpl;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
@@ -37,6 +39,10 @@
@Autowired
private ManageCoordinateDetailService manageCoordinateDetailService;
+
+
+ @Autowired
+ private HistorySecondCruiserService historySecondCruiserService;
//5������������������
@XxlJob("insertHistoryFiveMinutely")
@@ -165,4 +171,20 @@
}
+ /**
+ * ���������������������
+ * @return
+ */
+ @XxlJob("secondCruiserSort")
+ public ReturnT secondCruiserSort(){
+ try {
+ historySecondCruiserService.sort(null,null);
+ } catch (Exception e) {
+ XxlJobHelper.log(e.getMessage());
+ return new ReturnT(ReturnT.FAIL_CODE, e.getMessage());
+ }
+ return ReturnT.SUCCESS;
+
+ }
+
}
--
Gitblit v1.8.0