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

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.ymt.flc.api.dto.PersonEducationDto;
import com.yeejoin.amos.boot.module.ymt.flc.api.entity.PersonEducation;
import com.yeejoin.amos.boot.module.ymt.flc.api.mapper.PersonEducationMapper;
import com.yeejoin.amos.boot.module.ymt.flc.api.service.IPersonEducationService;
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 PersonEducationServiceImpl extends BaseService<PersonEducationDto, PersonEducation, PersonEducationMapper> implements IPersonEducationService {
    /**
     * 分页查询
     */
    public Page<PersonEducationDto> queryForFlcPersonEducationPage(Page<PersonEducationDto> page) {
        return this.queryForPage(page, null, false);
    }

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