From 068fc7f2e81178e55fa191a13709af64b1a163f6 Mon Sep 17 00:00:00 2001
From: EricsHu <hrr145632>
Date: 星期一, 05 十二月 2022 14:27:43 +0800
Subject: [PATCH] 处理编码

---
 src/main/java/com/qxueyou/scc/exam/action/ExamPaperController.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/qxueyou/scc/exam/action/ExamPaperController.java b/src/main/java/com/qxueyou/scc/exam/action/ExamPaperController.java
index 8021f1f..7e68cb0 100644
--- a/src/main/java/com/qxueyou/scc/exam/action/ExamPaperController.java
+++ b/src/main/java/com/qxueyou/scc/exam/action/ExamPaperController.java
@@ -33,11 +33,11 @@
  * @history 2018-03-11 create kevin
  * 
  */
-@Api(tags="试卷管理接口")
+@Api(tags="璇曞嵎绠$悊鎺ュ彛")
 @Controller
 @RequestMapping(value = "/exam/paper")
 public class ExamPaperController {
-	//分页查询中,默认记录条数和页数
+	//鍒嗛〉鏌ヨ涓紝榛樿璁板綍鏉℃暟鍜岄〉鏁�
 	private static final int DEFAULT_PAGE_SIZE=Integer.MAX_VALUE;
 	private static final int DEFAULT_PAGE_NUM=1;
 	
@@ -56,14 +56,14 @@
 	
 	
 	/**
-	 * 试卷列表
+	 * 璇曞嵎鍒楄〃
 	 * */
 	@RequestMapping(value = "/list", method = RequestMethod.GET)
 	public @ResponseBody Result pageList(String keyword,Short status, Integer pageSize,Integer pageNum){
 		Result result = new Result(Boolean.TRUE);
 		Pager pager = new Pager();
 		List<Object> queryParamLst = null;
-		// 查询记录数
+		// 鏌ヨ璁板綍鏁�
 		String hqlCount="from ExamPaperInfo where createId=? and examPaperName like ?  and deleteFlag is false";
 		if(status!=null){
 			hqlCount = hqlCount.concat(" and paperStatus = ?");
@@ -73,7 +73,7 @@
 		}
 		int totalCount = commonDAO.findCount(hqlCount,queryParamLst);
         
-        // 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);
@@ -99,7 +99,7 @@
 	}
 	
 	/**
-	 * 详情页面数据
+	 * 璇︽儏椤甸潰鏁版嵁
 	 * @param examPaperId
 	 * @return
 	 */
@@ -111,7 +111,7 @@
 	}
 	
 	/**
-	 * 保存
+	 * 淇濆瓨
 	 * 
 	 * @param examInfo
 	 * @return
@@ -129,7 +129,7 @@
 	}
 	
 	/**
-	 * 删除
+	 * 鍒犻櫎
 	 * @param examPaperIds
 	 * @return
 	 */
@@ -178,7 +178,7 @@
 	
 	
 	/**
-	 * 发布试卷
+	 * 鍙戝竷璇曞嵎
 	 * 
 	 * @param exerciseIds
 	 * @return
@@ -186,13 +186,13 @@
 	@RequestMapping(value = "/publish", method = RequestMethod.GET)
 	public @ResponseBody Result publishExamPaper(String examPaperIds) {
 		if (StringUtils.isEmpty(examPaperIds)) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		return this.examPaperService.doPublishExamPaper(examPaperIds.split(","));
 	}
 
 	/**
-	 * 撤回试卷
+	 * 鎾ゅ洖璇曞嵎
 	 * 
 	 * @param exerciseIds
 	 * @return
@@ -200,7 +200,7 @@
 	@RequestMapping(value = "/revoke", method = RequestMethod.GET)
 	public @ResponseBody Result revokeExamPaper(String examPaperIds) {
 		if (StringUtils.isEmpty(examPaperIds)) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		return this.examPaperService.doRevokeExamPaper(examPaperIds.split(","));
 	}

--
Gitblit v1.8.0