瀏覽代碼

move package CallType

deason 2 年之前
父節點
當前提交
e239e13fa7

+ 1 - 1
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/ExamController.java

@@ -28,7 +28,7 @@ import cn.com.qmth.examcloud.core.examwork.api.controller.bean.CopyExamDomain;
 import cn.com.qmth.examcloud.core.examwork.api.controller.bean.ExamDomain;
 import cn.com.qmth.examcloud.core.examwork.api.controller.bean.ExamOrgSettingsDomain;
 import cn.com.qmth.examcloud.core.examwork.api.controller.bean.StudentSpecialSettingsDomain;
-import cn.com.qmth.examcloud.core.examwork.base.enums.CallType;
+import cn.com.qmth.examcloud.api.commons.enums.CallType;
 import cn.com.qmth.examcloud.core.examwork.base.enums.ExamProperty;
 import cn.com.qmth.examcloud.core.examwork.dao.*;
 import cn.com.qmth.examcloud.core.examwork.dao.entity.*;

+ 1 - 1
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/bean/ExamDomain.java

@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
 import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
 import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
-import cn.com.qmth.examcloud.core.examwork.base.enums.CallType;
+import cn.com.qmth.examcloud.api.commons.enums.CallType;
 
 /**
  * 类注释

+ 0 - 18
examcloud-core-examwork-base/src/main/java/cn/com/qmth/examcloud/core/examwork/base/enums/CallType.java

@@ -1,18 +0,0 @@
-package cn.com.qmth.examcloud.core.examwork.base.enums;
-
-public enum CallType {
-	WHOLE_SET("成套调用"), 
-	RANDOM_PAPER("随机抽题"),
-	;
-
-	private String name;
-
-	CallType(String name) {
-		this.name = name;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-}

+ 1 - 1
examcloud-core-examwork-dao/src/main/java/cn/com/qmth/examcloud/core/examwork/dao/entity/ExamEntity.java

@@ -16,7 +16,7 @@ import org.springframework.format.annotation.DateTimeFormat;
 
 import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
-import cn.com.qmth.examcloud.core.examwork.base.enums.CallType;
+import cn.com.qmth.examcloud.api.commons.enums.CallType;
 import cn.com.qmth.examcloud.web.jpa.JpaEntity;
 
 /**

+ 1 - 1
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/bean/ExamInfo.java

@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
 import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
 import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
-import cn.com.qmth.examcloud.core.examwork.base.enums.CallType;
+import cn.com.qmth.examcloud.api.commons.enums.CallType;
 
 /**
  * 类注释

+ 1 - 1
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/impl/ExamServiceImpl.java

@@ -17,7 +17,7 @@ import cn.com.qmth.examcloud.core.basic.api.OrgCloudService;
 import cn.com.qmth.examcloud.core.basic.api.bean.OrgBean;
 import cn.com.qmth.examcloud.core.basic.api.request.GetOrgReq;
 import cn.com.qmth.examcloud.core.basic.api.response.GetOrgResp;
-import cn.com.qmth.examcloud.core.examwork.base.enums.CallType;
+import cn.com.qmth.examcloud.api.commons.enums.CallType;
 import cn.com.qmth.examcloud.core.examwork.base.enums.ExamProperty;
 import cn.com.qmth.examcloud.core.examwork.dao.*;
 import cn.com.qmth.examcloud.core.examwork.dao.entity.*;