From cad671a443f34b411ed4a69cb94490b1121102ce Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 04 三月 2025 17:02:56 +0800
Subject: [PATCH] 优化版图显示、钢化模拟计算保存、结果显示
---
north-glass-erp/src/main/java/com/example/erp/service/userInfo/LogService.java | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/service/userInfo/LogService.java b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/LogService.java
new file mode 100644
index 0000000..7c0e64a
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/LogService.java
@@ -0,0 +1,24 @@
+package com.example.erp.service.userInfo;
+
+import com.baomidou.dynamic.datasource.annotation.DS;
+import com.example.erp.entity.userInfo.Log;
+import com.example.erp.mapper.userInfo.LogMapper;
+import org.springframework.stereotype.Service;
+
+
+@Service
+@DS("log")
+public class LogService {
+
+ private final LogMapper logMapper;
+
+
+ public LogService(LogMapper logMapper) {
+ this.logMapper = logMapper;
+ }
+
+
+ public void saveLog(Log log) {
+ logMapper.insert(log);
+ }
+}
--
Gitblit v1.8.0