package com.pcloud.book.applet.dao;

import com.pcloud.book.applet.dto.AppletBookClassifyDTO;
import com.pcloud.book.applet.entity.AppletBookClassifyAgent;
import com.pcloud.common.core.dao.BaseDao;
import com.pcloud.common.entity.BaseEntity;

import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 出版社小程序分类菜单权限(AppletBookClassifyAgent)表数据库访问层
 *
 * @author makejava
 * @since 2020-07-17 16:49:50
 */
public interface AppletBookClassifyAgentDao extends BaseDao<AppletBookClassifyAgent>{


    void updateBaseInfoByAgent(AppletBookClassifyAgent appletBookClassifyAgent);

    List<AppletBookClassifyAgent> getByAgent(Long agentId);

    List<AppletBookClassifyDTO> listClassifyByAgent(Long agentId, Boolean showState);
}