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

import com.yeejoin.amos.boot.module.common.api.entity.RescueEquipment;
import com.yeejoin.amos.boot.module.common.api.mapper.RescueEquipmentMapper;
import com.yeejoin.amos.boot.module.common.api.service.IRescueEquipmentService;
import com.yeejoin.amos.boot.module.common.api.dto.RescueEquipmentDto;
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-07-23
 */
@Service
public class RescueEquipmentServiceImpl extends BaseService<RescueEquipmentDto,RescueEquipment,RescueEquipmentMapper> implements IRescueEquipmentService {
    /**
     * 分页查询
     */
    public Page<RescueEquipmentDto> queryForRescueEquipmentPage(Page<RescueEquipmentDto> page)   {
        return this.queryForPage(page, null, false);
    }

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