From c395b0bda650f94bc25bf1fcf8f50abae5b0966f Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 17 七月 2024 15:50:59 +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..a8c68c7
--- /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.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@DS("log")
+@Service
+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