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

import com.yeejoin.amos.boot.module.tzs.api.entity.WechatRelation;
import com.yeejoin.amos.boot.module.tzs.api.mapper.WechatRelationMapper;
import com.yeejoin.amos.boot.module.tzs.api.service.IWechatRelationService;
import com.yeejoin.amos.boot.module.tzs.api.dto.WechatRelationDto;
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;

/**
 * 微信公众号openid与电话号对应关系表服务实现类
 *
 * @author system_generator
 * @date 2021-09-22
 */
@Service
public class WechatRelationServiceImpl extends BaseService<WechatRelationDto,WechatRelation,WechatRelationMapper> implements IWechatRelationService {
    /**
     * 分页查询
     */
    public Page<WechatRelationDto> queryForWechatRelationPage(Page<WechatRelationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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