package com.yeejoin.equipmanage.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeejoin.equipmanage.common.dto.EquipmentOnCarDto;
import com.yeejoin.equipmanage.common.entity.EquipmentOnCar;
import com.yeejoin.equipmanage.common.vo.EquipmentOnCarVo;
import com.yeejoin.equipmanage.mapper.EquipmentOnCarMapper;
import com.yeejoin.equipmanage.service.IEquipmentOnCarService;
import org.springframework.stereotype.Service;

/**
 *  服务实现类
 *
 * @author wujiang
 * @date 2020-07-07
 */
@Service
public class EquipmentOnCarServiceImpl extends ServiceImpl<EquipmentOnCarMapper, EquipmentOnCar> implements IEquipmentOnCarService {

    @Override
    public IPage<EquipmentOnCarVo> onCarIPage(EquipmentOnCarDto equipmentOnCarDto) {
        return this.baseMapper.onCarIPage(equipmentOnCarDto.getPage(), equipmentOnCarDto);
    }
}
