#
Junjie
2026-01-14 aa151079c2d02047f6cb5f8ad56ff92b98544e99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.asrs.task;
 
import com.zy.core.utils.CrnOperateProcessUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
 
@Component
public class PlannerExecutor {
 
    @Autowired
    private CrnOperateProcessUtils crnOperateProcessUtils;
 
    @Scheduled(cron = "0/1 * * * * ? ")
    @Transactional
    public void executePlanner() {
        crnOperateProcessUtils.plannerExecute();
    }
}