package com.chinaweal.aiccs.aiccs.revoke.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.aiccs.aiccs.revoke.entity.Tsrevtasklist;
import com.chinaweal.aiccs.aiccs.revoke.entity.dto.RevBusDto;
import com.chinaweal.aiccs.aiccs.revoke.mapper.RevBusQueryMapper;
import com.chinaweal.aiccs.aiccs.revoke.service.RevBusQueryService;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.function.CustomFilterFunction;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.function.CustomWrapperPackingFunction;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.page.PageRequestDto;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

@Service
public class RevBusQueryServiceImpl extends BaseServiceImpl<RevBusQueryMapper, RevBusDto> implements RevBusQueryService {
    @Override
    public IPage<RevBusDto> searchRevBusPage(IPage<RevBusDto> page, String s) {
        return baseMapper.searchRevBus(page, s);
    }

    @Override
    public IPage<RevBusDto> searchByCondition(IPage<RevBusDto> page, Map<String, Object> customParamMap) {
        return baseMapper.searchByCondition(page, customParamMap);
    }

    @Override
    public List<RevBusDto> searchByConditionAll(Map<String, Object> customParamMap) {
        return baseMapper.searchByConditionAll(customParamMap);
    }

    @Override
    public int countOther(String id) {
        return baseMapper.countOther(id);
    }


}
