package cn.flightfeather.supervision.domain.mapper; import cn.flightfeather.supervision.domain.entity.OnLineQuestion; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import tk.mybatis.mapper.common.Mapper; import java.util.List; @org.apache.ibatis.annotations.Mapper @Repository public interface OnLineQuestionMapper extends Mapper { List findAll(); List findAllfalse(); String getQDescription(String questionId); String getQResource(String questionId); Integer count(); List getQByConditions(@Param("keywords")String keywords,@Param("factorType")Byte factorType,@Param("resourceKind")Byte resourceKind,@Param("showLevel")Byte showLevel,@Param("worKind")Byte worKind); Integer getQByConditionsCounts(@Param("keywords")String keywords,@Param("factorType")Byte factorType,@Param("resourceKind")Byte resourceKind,@Param("showLevel")Byte showLevel,@Param("worKind")Byte worKind); }