From 0662ed4d69b6270dec5c2214454023dfe8d46308 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 29 七月 2024 18:42:33 +0800
Subject: [PATCH] 变更

---
 ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java |   37 +++++++++++++++++++++++++++++++++----
 1 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java
index 96c1d23..fc34d78 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java
@@ -5,26 +5,31 @@
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.ruoyi.common.utils.StringUtils;
 import com.ruoyi.project.domain.ServiceFundShared;
+import com.ruoyi.project.domain.ServiceReimbursementShared;
 import com.ruoyi.project.mapper.ServiceFundSharedMapper;
 import com.ruoyi.project.service.IServiceFundSharedService;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import java.util.List;
 
 /**
  * 璐圭敤鐢宠涓籗ervice涓氬姟灞傚鐞�
- * 
+ *
  * @author ruoyi
- * @date 2023-01-10
+ * @date 2023-03-27
  */
 @Service
-public class ServiceFundSharedServiceImpl extends ServiceImpl<ServiceFundSharedMapper, ServiceFundShared> implements IServiceFundSharedService 
+public class ServiceFundSharedServiceImpl extends ServiceImpl<ServiceFundSharedMapper, ServiceFundShared> implements IServiceFundSharedService
 {
 
 
+    @Autowired
+    ServiceFundSharedMapper serviceFundSharedMapper;
+
     /**
      * 鏌ヨ璐圭敤鐢宠涓诲垪琛�
-     * 
+     *
      * @param serviceFundShared 璐圭敤鐢宠涓�
      * @return 璐圭敤鐢宠涓�
      */
@@ -33,6 +38,9 @@
         LambdaQueryWrapper<ServiceFundShared> wrappers = Wrappers.lambdaQuery();
         if (serviceFundShared.getInfoid() != null){
             wrappers.eq(ServiceFundShared::getInfoid ,serviceFundShared.getInfoid());
+        }
+        if (Long.valueOf(serviceFundShared.getSerfunid()) != null){
+            wrappers.eq(ServiceFundShared::getSerfunid ,serviceFundShared.getSerfunid());
         }
         if (StringUtils.isNotBlank(serviceFundShared.getDonorno())){
             wrappers.eq(ServiceFundShared::getDonorno ,serviceFundShared.getDonorno());
@@ -166,4 +174,25 @@
         return this.list(wrappers);
     }
 
+    @Override
+    public List<ServiceFundShared> queryFundShareList() {
+        LambdaQueryWrapper<ServiceFundShared> wrappers = Wrappers.lambdaQuery();
+        wrappers.eq(ServiceFundShared::getDel_flag, 0);
+      //  wrappers.isNotNull(ServiceFundShared::getCxrjyj);
+
+        return this.list(wrappers);
+    }
+
+    @Override
+    public  List<ServiceFundShared> getFundShareInfoById(Long fundid)
+    {
+        return serviceFundSharedMapper.getFundShareInfoById(fundid);
+        // return  null;
+    }
+
+    @Override
+    public Boolean delfundsharedInfoById(Long fundId,Long serfunid) {
+        return serviceFundSharedMapper.delfundsharedInfoById(fundId,serfunid);
+    }
+
 }

--
Gitblit v1.9.3