liusheng
2024-03-19 519886a70d630e3cdd6c0f40f55fcebc6e780dc5
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundSharedServiceImpl.java
@@ -5,6 +5,7 @@
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;
@@ -37,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());
@@ -171,9 +175,24 @@
    }
    @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) {
        return serviceFundSharedMapper.delfundsharedInfoById(fundId);
    }
}