| | |
| | | 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; |
| | |
| | | * @date 2023-04-20 |
| | | */ |
| | | @Service |
| | | public class ServiceFunddetailSharedServiceImpl extends ServiceImpl<ServiceFunddetailSharedMapper, ServiceFunddetailShared> implements IServiceFunddetailSharedService |
| | | { |
| | | public class ServiceFunddetailSharedServiceImpl extends ServiceImpl<ServiceFunddetailSharedMapper, ServiceFunddetailShared> implements IServiceFunddetailSharedService { |
| | | |
| | | |
| | | /** |
| | |
| | | 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; |
| | | } |
| | | |
| | | } |