package com.huimv.lamp;

import com.huimv.lamp.server.EartagServer2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@MapperScan("com.huimv.lamp.mapper")
public class HuimvLampApplication {

    public static void main(String[] args) throws InterruptedException {
        ApplicationContext applicationContext = SpringApplication.run(HuimvLampApplication.class, args);
        applicationContext.getBean(EartagServer2.class).run();
    }

}
