|
|
@@ -1,4 +1,4 @@
|
|
1
|
|
-package com.zzsmart.qomo.kn.forecast.financial;
|
|
|
1
|
+package com.zzsmart.qomo.kn.cost.manage;
|
|
2
|
2
|
|
|
3
|
3
|
import lombok.extern.slf4j.Slf4j;
|
|
4
|
4
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
@@ -21,15 +21,15 @@ import java.net.UnknownHostException;
|
|
21
|
21
|
@SpringBootApplication (scanBasePackages ={"org.jeecg", "com.zzsmart.qomo"})
|
|
22
|
22
|
//@EnableAutoConfiguration(exclude={MongoAutoConfiguration.class})
|
|
23
|
23
|
@EnableAsync
|
|
24
|
|
-public class QomoForecastApplication extends SpringBootServletInitializer {
|
|
|
24
|
+public class QomoCostManageApplication extends SpringBootServletInitializer {
|
|
25
|
25
|
|
|
26
|
26
|
@Override
|
|
27
|
27
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
|
28
|
|
- return application.sources(QomoForecastApplication.class);
|
|
|
28
|
+ return application.sources(QomoCostManageApplication.class);
|
|
29
|
29
|
}
|
|
30
|
30
|
|
|
31
|
31
|
public static void main(String[] args) throws UnknownHostException {
|
|
32
|
|
- ConfigurableApplicationContext application = SpringApplication.run(QomoForecastApplication.class, args);
|
|
|
32
|
+ ConfigurableApplicationContext application = SpringApplication.run(QomoCostManageApplication.class, args);
|
|
33
|
33
|
Environment env = application.getEnvironment();
|
|
34
|
34
|
String ip = InetAddress.getLocalHost().getHostAddress();
|
|
35
|
35
|
String port = env.getProperty("server.port");
|