You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
563 B
22 lines
563 B
package com.example.device;
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
/**
|
|
* @author mengff
|
|
* @Date 2024/01/04
|
|
*/
|
|
|
|
@EnableScheduling
|
|
@MapperScan("com.example.device.mapper") //扫描的mapper
|
|
@SpringBootApplication
|
|
public class DeviceApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(DeviceApplication.class, args);
|
|
}
|
|
|
|
}
|
|
|