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

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.elevator.flc.api.dto.PersonQualityDto;
import com.yeejoin.amos.boot.module.elevator.flc.api.entity.PersonQuality;
import com.yeejoin.amos.boot.module.elevator.flc.api.mapper.PersonQualityMapper;
import com.yeejoin.amos.boot.module.elevator.flc.api.service.IPersonQualityService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 企业人员资质信息表服务实现类
 *
 * @author system_generator
 * @date 2021-11-22
 */
@Service
public class PersonQualityServiceImpl extends BaseService<PersonQualityDto, PersonQuality, PersonQualityMapper> implements IPersonQualityService {
    /**
     * 分页查询
     */
    public Page<PersonQualityDto> queryForFlcPersonQualityPage(Page<PersonQualityDto> page) {
        return this.queryForPage(page, null, false);
    }

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