| | |
| | | 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; |
| | |
| | | |
| | | /** |
| | | * 费用申请主Service业务层处理 |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-27 |
| | | */ |
| | | @Service |
| | | public class ServiceFundSharedServiceImpl extends ServiceImpl<ServiceFundSharedMapper, ServiceFundShared> implements IServiceFundSharedService |
| | | public class ServiceFundSharedServiceImpl extends ServiceImpl<ServiceFundSharedMapper, ServiceFundShared> implements IServiceFundSharedService |
| | | { |
| | | |
| | | |
| | |
| | | |
| | | /** |
| | | * 查询费用申请主列表 |
| | | * |
| | | * |
| | | * @param serviceFundShared 费用申请主 |
| | | * @return 费用申请主 |
| | | */ |
| | |
| | | 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()); |
| | |
| | | } |
| | | |
| | | @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); |
| | | } |
| | | |
| | | } |