|
|
|
@ -1,11 +1,14 @@
|
|
|
|
|
package com.ibeetl.jlw.web.query;
|
|
|
|
|
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Query;
|
|
|
|
|
import com.ibeetl.admin.core.util.enums.CoreDictType;
|
|
|
|
|
import com.ibeetl.admin.core.web.query.PageParam;
|
|
|
|
|
import com.ibeetl.jlw.entity.ResourcesQuestion;
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
import static com.ibeetl.admin.core.annotation.Query.TYPE_DICT;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*ResourcesQuestion查询
|
|
|
|
|
*/
|
|
|
|
@ -34,6 +37,8 @@ public class ResourcesQuestionQuery extends PageParam {
|
|
|
|
|
private String questionAnswer;
|
|
|
|
|
@Query(name = "解析", display = false)
|
|
|
|
|
private String questionAnalysis;
|
|
|
|
|
@Query(name = "题目状态(1上架,0下架)", display = true, type = TYPE_DICT,dict= CoreDictType.UP_STATUS)
|
|
|
|
|
private Integer questionStatus;
|
|
|
|
|
@Query(name = "组织机构ID", display = false)
|
|
|
|
|
private Long orgId;
|
|
|
|
|
@Query(name = "后台用户ID", display = false)
|
|
|
|
@ -159,6 +164,7 @@ public class ResourcesQuestionQuery extends PageParam {
|
|
|
|
|
pojo.setQuestionOptionE(this.getQuestionOptionE());
|
|
|
|
|
pojo.setQuestionAnswer(this.getQuestionAnswer());
|
|
|
|
|
pojo.setQuestionAnalysis(this.getQuestionAnalysis());
|
|
|
|
|
pojo.setQuestionStatus(this.getQuestionStatus());
|
|
|
|
|
pojo.setOrgId(this.getOrgId());
|
|
|
|
|
pojo.setUserId(this.getUserId());
|
|
|
|
|
return pojo;
|
|
|
|
@ -212,4 +218,12 @@ public class ResourcesQuestionQuery extends PageParam {
|
|
|
|
|
public void setJudgeNum(Integer judgeNum) {
|
|
|
|
|
this.judgeNum = judgeNum;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getQuestionStatus() {
|
|
|
|
|
return questionStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setQuestionStatus(Integer questionStatus) {
|
|
|
|
|
this.questionStatus = questionStatus;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|