2025-08-21 14:39:54 +08:00
|
|
|
package com.cmvr;
|
|
|
|
|
|
2026-06-02 15:01:23 +08:00
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
2025-08-21 14:39:54 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 启动程序
|
|
|
|
|
*
|
|
|
|
|
* @author cmvr-iot
|
|
|
|
|
*/
|
|
|
|
|
@EnableScheduling
|
2026-06-02 15:01:23 +08:00
|
|
|
@MapperScan("com.cmvr.**.mapper")
|
2025-08-21 14:39:54 +08:00
|
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
|
|
|
|
public class CmvrIotApplication
|
|
|
|
|
{
|
|
|
|
|
public static void main(String[] args)
|
|
|
|
|
{
|
|
|
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
|
|
SpringApplication.run(CmvrIotApplication.class, args);
|
|
|
|
|
System.out.println("招商车研物联网平台启动成功");
|
|
|
|
|
}
|
|
|
|
|
}
|