package com.newfiber.termite.schedule; import com.newfiber.termite.mapper.DeviceInfoMapper; import javax.annotation.Resource; import org.springframework.stereotype.Component; @Component @SuppressWarnings("unchecked") public class DeviceAntSchedule { @Resource private DeviceInfoMapper deviceInfoMapper; // @Scheduled(cron = "0 0/1 * * * ? ") // public void deviceAntSchedule(){ // deviceInfoMapper.deviceAntSchedule(); // } }