package com.crm.custom.dao.mapper;

import com.crm.rely.backend.model.entity.golden.question.GoldenRewardQuestionSearchEntity;
import com.crm.rely.backend.model.pojo.table.GoldenQuestionCustomTable;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface GoldenQuestionCustomMapper {

    Integer countList(GoldenRewardQuestionSearchEntity entity);

    List<GoldenQuestionCustomTable> pageList(GoldenRewardQuestionSearchEntity entity);

    Integer getCountQuestionByDate(@Param("customId") Long customId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);

}
