123456789101112131415161718192021222324252627 |
- package cn.cslg.pas.mapper;
- import cn.cslg.pas.domain.Event;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 事件表的Mapper层接口
- *
- * @Author chenyu
- * @Date 2023/4/2
- */
- @Repository
- public interface EventMapper extends BaseMapper<Event> {
- /**
- * 根据名称和专题库ids统计数量
- *
- * @param questionName 事件名称
- * @param projectIds 专题库ids
- * @return 返回统计到的数量
- */
- int countByNameAndProjectIds(String questionName, List<Integer> projectIds);
- }
|