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.ShFamilyInviteDao;
import tech.glinfo.enbao.modules.sh.entity.ShFamilyInviteEntity;
import tech.glinfo.enbao.modules.sh.service.ShFamilyInviteService;


@Service("shFamilyInviteService")
public class ShFamilyInviteServiceImpl extends ServiceImpl<ShFamilyInviteDao, ShFamilyInviteEntity> implements ShFamilyInviteService {

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

        return new PageUtils(page);
    }

}