Browse Source

问题跟踪-定时任务 打开10min 一次的定时任务

huangpeng 10 months ago
parent
commit
4d02fe05dd

+ 1 - 1
cx-question/cx-question-server/src/main/java/com/rongwei/businessServer/controller/SrmIssuesListController.java

@@ -33,7 +33,7 @@ public class SrmIssuesListController {
      * 生产问题审批超时提醒
      * @return
      */
-  //  @Scheduled(cron = "0 0/10 * * * ? ")
+    @Scheduled(cron = "0 0/10 * * * ? ")
     @PostMapping("/approvalTimeoutReminder")
     public R batchSavePlansTiming(){
         R r = srmIssuesListService.approvalTimeoutReminder();