package com.yeejoin.amos.boot.module.ccs.biz.service.impl;

import com.yeejoin.amos.boot.module.ccs.api.entity.FireVehicle;
import com.yeejoin.amos.boot.module.ccs.api.mapper.FireVehicleMapper;
import com.yeejoin.amos.boot.module.ccs.api.service.IFireVehicleService;
import com.yeejoin.amos.boot.module.ccs.api.dto.FireVehicleDto;
import org.typroject.tyboot.core.rdbms.service.BaseService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

/**
 * 消防车辆信息服务实现类
 *
 * @author system_generator
 * @date 2021-11-09
 */
@Service
public class FireVehicleServiceImpl extends BaseService<FireVehicleDto,FireVehicle,FireVehicleMapper> implements IFireVehicleService {
    /**
     * 分页查询
     */
    public Page<FireVehicleDto> queryForFireVehiclePage(Page<FireVehicleDto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<FireVehicleDto> queryForFireVehicleList()   {
        return this.queryForList("" , false);
    }
}