liusheng
2023-08-15 2c07f3c1cf4092fd42e3022c56d1bcf8fcc9438e
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailSharedServiceImpl.java
@@ -1,14 +1,17 @@
package com.ruoyi.project.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.ArrayList;
import java.util.Map;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.mapper.ServiceFunddetailSharedMapper;
import com.ruoyi.project.domain.ServiceFunddetailShared;
@@ -21,8 +24,7 @@
 * @date 2023-04-20
 */
@Service
public class ServiceFunddetailSharedServiceImpl extends ServiceImpl<ServiceFunddetailSharedMapper, ServiceFunddetailShared> implements IServiceFunddetailSharedService
{
public class ServiceFunddetailSharedServiceImpl extends ServiceImpl<ServiceFunddetailSharedMapper, ServiceFunddetailShared> implements IServiceFunddetailSharedService {
    /**
@@ -184,4 +186,23 @@
        return this.list(wrappers);
    }
    /**
     * 查询费用申请明细列表
     *
     * @param serviceFunddetailShared 费用申请明细
     * @return 费用申请明细
     */
    @Override
    public Boolean delFunddetailShare(ServiceFunddetailShared serviceFunddetailShared) {
        boolean update = false;
        LambdaQueryWrapper<ServiceFunddetailShared> wrappers = Wrappers.lambdaQuery();
        if (serviceFunddetailShared.getFundid() != null) {
            wrappers.eq(ServiceFunddetailShared::getFundid, serviceFunddetailShared.getFundid());
            update = update(wrappers);
        }
        return update;
    }
}