|
@@ -1,7 +1,5 @@
|
|
|
package cn.com.qmth.examcloud.core.basic.dao.enums;
|
|
|
|
|
|
-import org.apache.commons.lang3.StringUtils;
|
|
|
-
|
|
|
import cn.com.qmth.examcloud.commons.base.exception.ExamCloudRuntimeException;
|
|
|
|
|
|
/**
|
|
@@ -39,9 +37,6 @@ public enum CourseLevel {
|
|
|
* @return
|
|
|
*/
|
|
|
public static CourseLevel getCourseLevel(String name) {
|
|
|
- if (StringUtils.isBlank(name)) {
|
|
|
- return CourseLevel.ALL;
|
|
|
- }
|
|
|
for (CourseLevel cur : CourseLevel.values()) {
|
|
|
if (name.equals(cur.getName())) {
|
|
|
return cur;
|