package com.zy.asrs.task; import com.zy.asrs.entity.*; import com.zy.asrs.service.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.util.ArrayList; import java.util.List; /** * Created by Monkey D. Luffy on 2023.07.25 * 徐工汉云..............以下.............上饶江铜.............自动补空板 */ @Component public class WrkMastRgvTwoScheduler { @Autowired private WrkMastService wrkMastService; public static final List STA_WORK_RU = new ArrayList() {{ add(118);add(120);add(121);add(122);add(123);add(171); }}; @Scheduled(cron = "0/1 * * * * ? ") private void execute2(){ } }