/*
 * Author: wangjian
 * 生成ServiceImpl
 */
package com.tofly.feesapi.yhgl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tofly.feesapi.common.core.dto.PageDto;
import com.tofly.feesapi.common.core.vo.PageResult;
import com.tofly.feesapi.yhgl.entity.YhGroup;
import com.tofly.feesapi.yhgl.entity.dto.YhGroupFilter;
import com.tofly.feesapi.yhgl.entity.vo.YhGroupSelect;
import com.tofly.feesapi.yhgl.service.YhGroupService;
import org.springframework.stereotype.Service;
import com.tofly.feesapi.yhgl.mapper.YhGroupMapper;

/**
 * 用户群主账户管理
 *
 * @author admin
 * @date Mon Dec 09 00:00:00 GMT+08:00 2024
 */
@Service("yhGroupService")
public class YhGroupServiceImpl extends ServiceImpl<YhGroupMapper, YhGroup> implements YhGroupService {
    @Override
    public String getMaxid() {
        return this.baseMapper.getMaxid();
    }

    @Override
    public PageResult<YhGroupSelect> getPage(PageDto pageDto, YhGroupFilter filter)
    {
        PageDto<YhGroupSelect> page = this.baseMapper.getPage(pageDto, filter);
        return page.toVo();
    }
}
