From 962660d954ce69bc1f8d1a16024ca48b614018a1 Mon Sep 17 00:00:00 2001
From: EricsHu <hrr145632>
Date: 星期一, 15 五月 2023 17:03:05 +0800
Subject: [PATCH] 开启直播时间调整
---
src/main/java/com/qxueyou/scc/exam/action/ExamPaperSectionController.java | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/main/java/com/qxueyou/scc/exam/action/ExamPaperSectionController.java b/src/main/java/com/qxueyou/scc/exam/action/ExamPaperSectionController.java
index ab0bb79..054b567 100644
--- a/src/main/java/com/qxueyou/scc/exam/action/ExamPaperSectionController.java
+++ b/src/main/java/com/qxueyou/scc/exam/action/ExamPaperSectionController.java
@@ -30,11 +30,11 @@
* @author kevin
* @history 2018-03-11 create kevin
*/
-@Api(tags = "试卷部分管理接口")
+@Api(tags = "璇曞嵎閮ㄥ垎绠$悊鎺ュ彛")
@Controller
@RequestMapping(value = "/exam/papersection")
public class ExamPaperSectionController {
- //分页查询中,默认记录条数和页数
+ //鍒嗛〉鏌ヨ涓紝榛樿璁板綍鏉℃暟鍜岄〉鏁�
private static final int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
private static final int DEFAULT_PAGE_NUM = 1;
@@ -52,18 +52,18 @@
IExerciseGroupService exerciseGroupService;
/**
- * 试卷部分列表
+ * 璇曞嵎閮ㄥ垎鍒楄〃
*/
@RequestMapping(value = "/list", method = RequestMethod.GET)
public @ResponseBody
Result pageList(String examPaperId, Integer pageSize, Integer pageNum) {
Result result = new Result(Boolean.TRUE);
Pager pager = new Pager();
- // 查询记录数
+ // 鏌ヨ璁板綍鏁�
String hqlCount = "from ExamPaperSectionInfo where examPaperId=? and deleteFlag is false";
int totalCount = commonDAO.findCount(hqlCount, CollectionUtils.newList(examPaperId));
- // page赋值
+ // page璧嬪��
pager.setTotalCount(totalCount);
pager.setPageSize(pageSize != null && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE);
pager.setPageNum(pageNum != null && pageNum > 0 ? pageNum : DEFAULT_PAGE_NUM);
@@ -76,7 +76,7 @@
}
/**
- * 详情
+ * 璇︽儏
*
* @param examPaperSectionId
* @return
@@ -90,7 +90,7 @@
}
/**
- * 保存
+ * 淇濆瓨
*
* @param examPaperSectionInfo
* @return
@@ -110,7 +110,7 @@
}
/**
- * 删除
+ * 鍒犻櫎
*
* @param examPaperSectionIds
* @return
@@ -126,7 +126,7 @@
}
/**
- * 设置题库
+ * 璁剧疆棰樺簱
*
* @param examPaperSectionInfo
* @return
@@ -137,7 +137,7 @@
public @ResponseBody
Result saveSectionGroup(String sectionId, String selectedGroupIds, String selectedItemTypes) throws Exception {
if (StringUtils.isEmpty(sectionId) || StringUtils.isEmpty(selectedGroupIds) || StringUtils.isEmpty(selectedItemTypes)) {
- return new Result(false, "请求参数错误!");
+ return new Result(false, "璇锋眰鍙傛暟閿欒!");
}
String[] arrGroupIds = selectedGroupIds.split(",");
@@ -152,7 +152,7 @@
}
/**
- * 自主选题
+ * 鑷富閫夐
*
* @param examPaperSectionInfo
* @return
@@ -162,7 +162,7 @@
public @ResponseBody
Result saveSectionSeletedItems(String sectionId, String sourceGroupId, String selectedItemIds) throws Exception {
if (StringUtils.isEmpty(sectionId) || StringUtils.isEmpty(sourceGroupId) || StringUtils.isEmpty(selectedItemIds)) {
- return new Result(false, "请求参数错误!");
+ return new Result(false, "璇锋眰鍙傛暟閿欒!");
}
String[] arrItemIds = selectedItemIds.split(",");
@@ -170,7 +170,7 @@
}
/**
- * 交换题目顺序
+ * 浜ゆ崲棰樼洰椤哄簭
*
* @param examPaperSectionInfo
* @return
@@ -183,7 +183,7 @@
}
/**
- * 删除题目
+ * 鍒犻櫎棰樼洰
*
* @param examPaperSectionInfo
* @return
@@ -196,7 +196,7 @@
}
/**
- * 考试保存题目
+ * 鑰冭瘯淇濆瓨棰樼洰
*
* @return
*/
@@ -210,7 +210,7 @@
/**
- * 查询当前题组中被选中的题目ID
+ * 鏌ヨ褰撳墠棰樼粍涓閫変腑鐨勯鐩甀D
*/
@RequestMapping(value = "/group/itemIds", method = RequestMethod.GET)
public @ResponseBody
--
Gitblit v1.8.0