riku
2021-09-24 4f1b7973c53b45f57e451191bfd5a3d2136a004c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
}