From f0420251442ac6f7bfb6beafa37ad045b4f6478a Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 31 十二月 2025 15:49:05 +0800
Subject: [PATCH] 报工多工序,用户多工序修改
---
north-glass-erp/src/main/java/com/example/erp/ErpApplication.java | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/ErpApplication.java b/north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
new file mode 100644
index 0000000..ec62c7e
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
@@ -0,0 +1,26 @@
+package com.example.erp;
+
+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;
+
+//springboot 鍚姩鍏ュ彛
+@SpringBootApplication
+@EnableCaching
+@EnableScheduling
+@EnableTransactionManagement//浜嬪姟娉ㄨВ
+@EnableAsync //鍚敤寮傛浠诲姟
+//@Transactional//鍦╯ervice閲岄潰鏈夊琛ㄦ搷浣滐紝寮�鍚簨鍔℃敞瑙�
+public class ErpApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(ErpApplication.class, args);
+ /*try {
+ new NettyServer(12345).start();
+ } catch (Exception e) {
+ throw new RuntimeException(e);
+ }*/
+ }
+}
--
Gitblit v1.8.0