guoyujie
14 小时以前 dc3130e46457e27b72a70fc1f900f755e39fd3f1
north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
@@ -1,16 +1,18 @@
package com.example.erp;
import com.example.erp.tools.netty.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.annotation.Transactional;
//springboot 启动入口
@SpringBootApplication
@EnableCaching
@EnableScheduling
@EnableTransactionManagement//事务注解
@EnableAsync  //启用异步任务
//@Transactional//在service里面有多表操作,开启事务注解
public class ErpApplication {
    public static void main(String[] args) {