package com.liquidnet.service.sweet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liquidnet.service.sweet.dto.SweetManualAppletArDto;
import com.liquidnet.service.sweet.dto.SweetManualAppletDto;
import com.liquidnet.service.sweet.dto.SweetManualDto;
import com.liquidnet.service.sweet.entity.SweetManual;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 电子宣传手册表 Mapper 接口
 * </p>
 *
 * @author liquidnet
 * @since 2021-07-23
 */
public interface SweetManualMapper extends BaseMapper<SweetManual> {

    List<SweetManualDto> getManualList(Map<String, Object> map);

    SweetManualDto getManualDetails(Map<String, Object> map);

    List<SweetManualAppletDto> getManualAppletDto();

    List<SweetManualAppletArDto> getManualAppletArDto(@Param("performanceId") String performanceId);
}
