Prechádzať zdrojové kódy

修改定时任务名称

xueyiming 6 mesiacov pred
rodič
commit
e1f4a6a94a

+ 2 - 2
we-com-server/src/main/java/com/tzld/piaoquan/wecom/job/WeComHistoryDataJob.java

@@ -67,7 +67,7 @@ public class WeComHistoryDataJob {
     private UserService userService;
 
 
-    @XxlJob("saveHistoryMessageJob1")
+    @XxlJob("saveHistoryMessageJob")
     public ReturnT<String> selectHistoryMessageByDay(String param) {
         XxlJobParam xxlJobParam = new XxlJobParam();
         if (StringUtils.isNotEmpty(param)) {
@@ -98,7 +98,7 @@ public class WeComHistoryDataJob {
         return ReturnT.SUCCESS;
     }
 
-    public void selectAlertHistoryMessage(Long startTime, Long endTime) {
+    private void selectAlertHistoryMessage(Long startTime, Long endTime) {
 
         StaffExample staffExample = new StaffExample();
         List<Staff> staffList = staffMapper.selectByExample(staffExample);

+ 1 - 1
we-com-server/src/main/java/com/tzld/piaoquan/wecom/job/WeComMessageDataJob.java

@@ -137,7 +137,7 @@ public class WeComMessageDataJob {
         this.guaranteedVideoMap = videoMap;
     }
 
-    @XxlJob("assembleSendMessageJob1")
+    @XxlJob("assembleSendMessageJob")
     public ReturnT<String> assembleSendMessage(String param) {
         XxlJobParam xxlJobParam = new XxlJobParam();
         if (StringUtils.isNotEmpty(param)) {