package com.malk.taisen.Timers; import com.malk.taisen.service.NonPoServer; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; @Slf4j @Configuration @EnableScheduling public class Time { @Autowired private NonPoServer nonPoServer; // @Scheduled(fixedRate = 500) // public void JX() throws Exception { // nonPoServer.NonPoinsetSAP0005("","045e8b98-3e82-4569-b5ea-c22def5170bd"); // // } }