|
@@ -2,6 +2,8 @@ package com.qmth.cqb.question.model;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
+
|
|
|
import cn.com.qmth.examcloud.common.dto.question.enums.QuesStructType;
|
|
|
|
|
|
public class QuestionSearchCondition {
|
|
@@ -63,7 +65,11 @@ public class QuestionSearchCondition {
|
|
|
}
|
|
|
|
|
|
public void setCourseNo(String courseNo) {
|
|
|
- this.courseNo = courseNo;
|
|
|
+ if(StringUtils.isBlank(courseNo)){
|
|
|
+ this.courseNo = null;
|
|
|
+ }else{
|
|
|
+ this.courseNo = courseNo;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|