|
|
@@ -14,6 +14,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
import org.springframework.context.ConfigurableApplicationContext;
|
|
|
+import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
/**
|
|
|
* @author Administrator
|
|
|
@@ -24,6 +25,7 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|
|
@SpringBootApplication(scanBasePackages = BaseConstants.BASE_PACKAGE)
|
|
|
@EnableConfigurationProperties({MqttProperties.class, AlgorithmYml.class, FireProperties.class})
|
|
|
@MapperScan(value = {"com.zd.**.mapper"})
|
|
|
+@EnableScheduling
|
|
|
public class AlgorithmApplication {
|
|
|
|
|
|
private static String[] args;
|