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

import com.yeejoin.amos.boot.module.elevator.api.entity.ElevatorInsureRelation;
import com.yeejoin.amos.boot.module.elevator.api.mapper.ElevatorInsureRelationMapper;
import com.yeejoin.amos.boot.module.elevator.api.service.IElevatorInsureRelationService;
import com.yeejoin.amos.boot.module.elevator.api.dto.ElevatorInsureRelationDto;
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-10-29
 */
@Service
public class ElevatorInsureRelationServiceImpl extends BaseService<ElevatorInsureRelationDto,ElevatorInsureRelation,ElevatorInsureRelationMapper> implements IElevatorInsureRelationService {
    /**
     * 分页查询
     */
    public Page<ElevatorInsureRelationDto> queryForElevatorInsureRelationPage(Page<ElevatorInsureRelationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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