From bb0b796649f1addc2bc593fb91fbb35b692ace8b Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 四月 2024 15:50:11 +0800
Subject: [PATCH] 去除后台不需要的打印

---
 north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java b/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
new file mode 100644
index 0000000..14d50af
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
@@ -0,0 +1,33 @@
+package com.example.erp.service.sd;
+
+import com.baomidou.dynamic.datasource.annotation.DS;
+import com.example.erp.entity.sd.BasicOtherMoney;
+import com.example.erp.mapper.sd.BasicOtherMoneyMapper;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+@DS("sd")
+public class BasicOtherMoneyService {
+    private final BasicOtherMoneyMapper basicOtherMoneyMapper;
+
+    public BasicOtherMoneyService(BasicOtherMoneyMapper basicOtherMoneyMapper) {
+        this.basicOtherMoneyMapper = basicOtherMoneyMapper;
+    }
+
+    public List<BasicOtherMoney> findAll() {
+        return basicOtherMoneyMapper.selectList(null);
+
+    }
+
+    public int deleteById(Integer id) {
+        return basicOtherMoneyMapper.deleteById(id);
+    }
+
+    public int save(String alias) {
+        BasicOtherMoney basicOtherMoney = new  BasicOtherMoney();
+        basicOtherMoney.setAlias(alias);
+        return basicOtherMoneyMapper.insert(basicOtherMoney);
+    }
+}

--
Gitblit v1.8.0