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

import com.yeejoin.amos.boot.module.tzs.api.entity.EnevatorRelation;
import com.yeejoin.amos.boot.module.tzs.api.mapper.EnevatorRelationMapper;
import com.yeejoin.amos.boot.module.tzs.api.service.IEnevatorRelationService;
import com.yeejoin.amos.boot.module.tzs.api.dto.EnevatorRelationDto;
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 litw
 * @date 2021-09-22
 */
@Service
public class EnevatorRelationServiceImpl extends BaseService<EnevatorRelationDto,EnevatorRelation,EnevatorRelationMapper> implements IEnevatorRelationService {
    /**
     * 分页查询
     */
    public Page<EnevatorRelationDto> queryForEnevatorRelationPage(Page<EnevatorRelationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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

}