From 4408f77aac1a6f382758c142e9cf59e9685a1daa Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 十二月 2025 08:40:44 +0800
Subject: [PATCH] 修改在制品报表终止数量不显示问题,添加报工后续工序减去对应终止数量
---
north-glass-erp/src/main/java/com/example/erp/ErpApplication.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 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
index 066700f..2317aa6 100644
--- a/north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
+++ b/north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
@@ -1,20 +1,24 @@
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.EnableScheduling;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
//springboot 鍚姩鍏ュ彛
@SpringBootApplication
@EnableCaching
+@EnableScheduling
+@EnableTransactionManagement//浜嬪姟娉ㄨВ
+//@Transactional//鍦╯ervice閲岄潰鏈夊琛ㄦ搷浣滐紝寮�鍚簨鍔℃敞瑙�
public class ErpApplication {
public static void main(String[] args) {
SpringApplication.run(ErpApplication.class, args);
- try {
+ /*try {
new NettyServer(12345).start();
} catch (Exception e) {
throw new RuntimeException(e);
- }
+ }*/
}
}
--
Gitblit v1.8.0