no message

This commit is contained in:
2025-09-29 12:45:36 +08:00
parent 1203fece41
commit b4ad435945

View File

@ -9,6 +9,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.Environment; import org.springframework.core.env.Environment;
import org.springframework.retry.annotation.EnableRetry; import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
import java.io.IOException; import java.io.IOException;
@ -19,6 +20,7 @@ import java.io.IOException;
@EnableRetry @EnableRetry
@EnableTransactionManagement @EnableTransactionManagement
@MapperScan("com.sczx.sync.mapper") // 扫描 Mapper 接口 @MapperScan("com.sczx.sync.mapper") // 扫描 Mapper 接口
@EnableScheduling
public class Application { public class Application {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {