package zy.cloud.wms.common.service.task; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.RestController; import zy.cloud.wms.manager.service.DiffValService; /** * Created by vincent on 2021/11/23 */ @Slf4j @Component public class DiffValScheduler { @Autowired private DiffValService diffValService; @Transactional @Scheduled(cron = "0/10 * * * * ? ") public void run() { } }