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<OnLineQuestion> {
|
|
List<OnLineQuestion> findAll();
|
|
List<OnLineQuestion> findAllfalse();
|
|
String getQDescription(String questionId);
|
|
String getQResource(String questionId);
|
|
Integer count();
|
|
List<OnLineQuestion> 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);
|
}
|