package com.playlet.web.service.app;

import com.github.pagehelper.PageInfo;
import com.playlet.system.domain.PlayletUserExpandAccount;

import java.util.List;

/**
 * @author clunt
 * <p>短剧*扩展账号管理service</p>
 */
public interface PlayletExpandService {

    /**
     * @param expandAccount 查询条件
     * @param pageNum 页码
     * @param pageSize 单页条数
     * @return 分页结果
     */
    PageInfo<PlayletUserExpandAccount> getPageList(PlayletUserExpandAccount expandAccount, Integer pageNum, Integer pageSize);

    /**
     * @param expandAccount 查询条件
     * @return 返回list
     */
    List<PlayletUserExpandAccount> getList(PlayletUserExpandAccount expandAccount);

    /**
     * @param expandAccount 新增外部账号
     */
    void addAccount(PlayletUserExpandAccount expandAccount);

}
