package tech.glinfo.enbao.modules.sh.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import tech.glinfo.enbao.common.utils.PageUtils;
import tech.glinfo.enbao.common.utils.Query;

import tech.glinfo.enbao.modules.sh.dao.ShFamilyMemberDao;
import tech.glinfo.enbao.modules.sh.entity.ShFamilyMemberEntity;
import tech.glinfo.enbao.modules.sh.service.ShFamilyMemberService;


@Service("shFamilyMemberService")
public class ShFamilyMemberServiceImpl extends ServiceImpl<ShFamilyMemberDao, ShFamilyMemberEntity> implements ShFamilyMemberService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ShFamilyMemberEntity> page = this.page(
                new Query<ShFamilyMemberEntity>().getPage(params),
                new QueryWrapper<ShFamilyMemberEntity>()
        );

        return new PageUtils(page);
    }

}