|
@@ -1,7 +1,6 @@
|
|
|
package cn.com.qmth.stmms.api.controller.admin;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
-import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
@@ -14,6 +13,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import com.qmth.boot.core.collection.PageResult;
|
|
|
|
|
|
import cn.com.qmth.stmms.api.controller.BaseApiController;
|
|
|
+import cn.com.qmth.stmms.biz.exam.bean.EnumVo;
|
|
|
import cn.com.qmth.stmms.biz.exam.bean.StudentCheckVo;
|
|
|
import cn.com.qmth.stmms.biz.exam.model.CheckStudent;
|
|
|
import cn.com.qmth.stmms.biz.exam.model.ExamStudent;
|
|
@@ -42,8 +42,12 @@ public class CheckStudentController extends BaseApiController {
|
|
|
@ApiOperation(value = "确认类型")
|
|
|
@RequestMapping(value = "types", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
- public List<CheckType> typeList() {
|
|
|
- return Arrays.asList(CheckType.values());
|
|
|
+ public List<EnumVo> typeList() {
|
|
|
+ List<EnumVo> ret = new ArrayList<>();
|
|
|
+ for (CheckType e : CheckType.values()) {
|
|
|
+ ret.add(new EnumVo(e.name(), e.getName()));
|
|
|
+ }
|
|
|
+ return ret;
|
|
|
}
|
|
|
|
|
|
@Logging(menu = "人工确认查询", type = LogType.QUERY)
|