package com.qmth.distributed.print.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qmth.distributed.print.business.entity.TCStatistics;
import com.qmth.distributed.print.business.entity.TCStatisticsTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 命题统计临时表 Mapper 接口
 * </p>
 *
 * @author wangliang
 * @since 2021-09-09
 */
public interface TCStatisticsTempMapper extends BaseMapper<TCStatisticsTemp> {

    /**
     * 根据批次号查找印刷计划信息
     *
     * @param schoolId
     * @param batchNo
     * @return
     */
    public List<TCStatisticsTemp> findByBatchNo(@Param("schoolId") Long schoolId, @Param("batchNo") String batchNo);

    /**
     * 根据批次号查找印刷计划信息
     *
     * @param schoolId
     * @param batchNo
     * @return
     */
    public List<TCStatisticsTemp> findByBatchNoJoin(@Param("schoolId") Long schoolId, @Param("batchNo") String batchNo);
}
