package com.pcloud.book.group.dao.impl;

import com.pcloud.book.group.dao.LearningReportTouchRecordDao;
import com.pcloud.book.group.dto.ClassifyLearningCountDto;
import com.pcloud.book.group.entity.LearningReportTouchRecord;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("learningReportTouchRecord")
public class LearningReportTouchRecordDaoImpl extends BaseDaoImpl<LearningReportTouchRecord> implements LearningReportTouchRecordDao {
    @Override
    public List<ClassifyLearningCountDto> getCountGroupByClassifyId(List<Long> list) {
        return this.getSqlSession().selectList(this.getStatement("getCountGroupByClassifyId"), list);
    }
}
