/*
 * 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.YhGroupAccounts;
import com.tofly.feesapi.yhgl.entity.dto.YhGroupAccountsFilter;
import com.tofly.feesapi.yhgl.entity.vo.YhGroupAccountsSelect;
import com.tofly.feesapi.yhgl.service.YhGroupAccountsService;
import org.springframework.stereotype.Service;
import com.tofly.feesapi.yhgl.mapper.YhGroupAccountsMapper;

/**
 * 用户分组用户账户
 *
 * @author admin
 * @date Mon Dec 09 00:00:00 GMT+08:00 2024
 */
@Service("yhGroupAccountsService")
public class YhGroupAccountsServiceImpl extends ServiceImpl<YhGroupAccountsMapper, YhGroupAccounts> implements YhGroupAccountsService {
    @Override
    public String getMaxid() {
        return this.baseMapper.getMaxid();
    }
    @Override
    public PageResult<YhGroupAccountsSelect> getPage(PageDto page, YhGroupAccountsFilter filter) {
        PageDto<YhGroupAccountsSelect> pageDto = this.baseMapper.getPage(page, filter);
        return pageDto.toVo();
    }
}
