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

import com.yeejoin.amos.boot.module.jxiop.api.entity.PersonAscription;
import com.yeejoin.amos.boot.module.jxiop.api.mapper.PersonAscriptionMapper;
import com.yeejoin.amos.boot.module.jxiop.api.service.IPersonAscriptionService;
import com.yeejoin.amos.boot.module.jxiop.api.dto.PersonAscriptionDto;
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 2023-04-20
 */
@Service
public class PersonAscriptionServiceImpl extends BaseService<PersonAscriptionDto,PersonAscription,PersonAscriptionMapper> implements IPersonAscriptionService {
    /**
     * 分页查询
     */
    public Page<PersonAscriptionDto> queryForPersonAscriptionPage(Page<PersonAscriptionDto> page)   {
        return this.queryForPage(page, null, false);
    }

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