From c27a685ed122e3f2934eba2c3d77bc2e1312a4cf Mon Sep 17 00:00:00 2001
From: 你好啊 <1536384743@qq.com>
Date: 星期五, 09 八月 2024 11:19:41 +0800
Subject: [PATCH] 修改当传入数据为空时,该=改null  为0

---
 north-glass-erp/src/main/java/com/example/erp/service/userInfo/SysErrorService.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/userInfo/SysErrorService.java b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/SysErrorService.java
new file mode 100644
index 0000000..ee7ed07
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/service/userInfo/SysErrorService.java
@@ -0,0 +1,22 @@
+package com.example.erp.service.userInfo;
+
+import com.baomidou.dynamic.datasource.annotation.DS;
+import com.example.erp.entity.userInfo.SysError;
+import com.example.erp.mapper.userInfo.SysErrorMapper;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+@DS("user_info")
+public class SysErrorService {
+    private final SysErrorMapper sysErrorMapper;
+
+    public SysErrorService(SysErrorMapper sysErrorMapper) {
+        this.sysErrorMapper = sysErrorMapper;
+    }
+
+    public void insert(SysError sysError) {
+        sysErrorMapper.saveError(sysError);
+    }
+
+}

--
Gitblit v1.8.0