jiangping
2024-06-21 b0ea50dd24a7ed5ada38dc6c8209f78fc09f0441
server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -24,8 +24,8 @@
 * @date 2021-10-10 14:40:35
 * https://www.bejson.com/othertools/cron/  cron 表达式生成地址
 */
//@Component
//@EnableScheduling
@Component
@EnableScheduling
public class ScheduleTool {
    @Autowired
@@ -64,7 +64,7 @@
     * 每分钟拉取一次今日的访客预约数据
     * @throws Exception
     */
    @Scheduled(fixedRate= 30*1000)
    @Scheduled(fixedRate= 3*60*1000)
    public void syncVistAppointData() throws Exception {
        if(Constants.DEALING_FROM_HK_VISIT){
            return ;