package com.ylcm.sys.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ylcm.sys.domain.AdTheatre;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylcm.sys.form.AdTheatreForm;
import com.ylcm.sys.vo.AdTheatreVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 剧场管理表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-07-01
 */
public interface AdTheatreMapper extends BaseMapper<AdTheatre> {

    IPage<AdTheatreVO> getListByCondition(IPage<AdTheatre> page, @Param("form") AdTheatreForm form);

    int countTvNum(@Param("name") String name, @Param("mediaName") String mediaName, @Param("startDate") String startDate, @Param("endDate") String endDate);

    int countThemeNum(@Param("firstTheme") String firstTheme, @Param("mediaName") String mediaName, @Param("timeQuery") String timeQuery, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
