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/controller/CourseScheduleController.java |   58 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/main/java/com/qxueyou/scc/controller/CourseScheduleController.java b/src/main/java/com/qxueyou/scc/controller/CourseScheduleController.java
index d1124c5..f49fc58 100644
--- a/src/main/java/com/qxueyou/scc/controller/CourseScheduleController.java
+++ b/src/main/java/com/qxueyou/scc/controller/CourseScheduleController.java
@@ -27,16 +27,16 @@
 import io.swagger.annotations.ApiOperation;
 
 /**
- * 班级管理控制器
+ * 鐝骇绠$悊鎺у埗鍣�
  *
  * @author kevin
  */
-@Api(tags="课表接口")
+@Api(tags="璇捐〃鎺ュ彛")
 @Controller
 @RequestMapping("/admin/schedule")
 public class CourseScheduleController {
 	
-	// 分页查询中,默认记录条数和页数
+	// 鍒嗛〉鏌ヨ涓紝榛樿璁板綍鏉℃暟鍜岄〉鏁�
 	private static final int DEFAULT_PAGE_SIZE = 10;
 	private static final int DEFAULT_PAGE_NUM = 1;
 
@@ -47,16 +47,16 @@
     IClassRoomService classRoomService;
     
     /**
-	 * 课表列表
+	 * 璇捐〃鍒楄〃
 	 */
     @SuppressWarnings("unchecked")
-	@ApiOperation(value = "获取课表列表")
+	@ApiOperation(value = "鑾峰彇璇捐〃鍒楄〃")
 	@RequestMapping(value = "list", method = RequestMethod.GET)
 	public @ResponseBody Result list(String keyword,Short status,Integer pageSize,Integer pageNum) {
 		pageSize = pageSize != null && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE;
 		pageNum = pageNum != null && pageNum > 0 ? pageNum : DEFAULT_PAGE_NUM;
 		
-		//总考试数量
+		//鎬昏�冭瘯鏁伴噺
 		int totalCount = scheduleService.listCount(keyword, status);
 		Pager pager = new Pager(pageSize,pageNum);
 		pager.setTotalCount(totalCount);
@@ -92,16 +92,16 @@
 	}
     
     /**
-  	 * 课表列表
+  	 * 璇捐〃鍒楄〃
      * @throws ParseException 
   	 */
-    @ApiOperation(value = "教师获取当天课表信息")
+    @ApiOperation(value = "鏁欏笀鑾峰彇褰撳ぉ璇捐〃淇℃伅")
   	@RequestMapping(value = "teacher/list", method = RequestMethod.GET)
   	public @ResponseBody Result teacherList(String date,Integer pageSize,Integer pageNum) throws Exception {
   		pageSize = pageSize != null && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE;
   		pageNum = pageNum != null && pageNum > 0 ? pageNum : DEFAULT_PAGE_NUM;
   		
-  		//总考试数量
+  		//鎬昏�冭瘯鏁伴噺
   		int totalCount = scheduleService.listTeacherOfScheduleCount(date, pageSize, pageNum);
   		Pager pager = new Pager(pageSize,pageNum);
   		pager.setTotalCount(totalCount);
@@ -144,16 +144,16 @@
     
     
     /**
-  	 * 课表列表
+  	 * 璇捐〃鍒楄〃
      * @throws ParseException 
   	 */
-    @ApiOperation(value = "学生获取当天课表信息")
+    @ApiOperation(value = "瀛︾敓鑾峰彇褰撳ぉ璇捐〃淇℃伅")
   	@RequestMapping(value = "student/list", method = RequestMethod.GET)
   	public @ResponseBody Result studentList(String date,Integer pageSize,Integer pageNum) throws Exception {
   		pageSize = pageSize != null && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE;
   		pageNum = pageNum != null && pageNum > 0 ? pageNum : DEFAULT_PAGE_NUM;
   		
-  		//总考试数量
+  		//鎬昏�冭瘯鏁伴噺
   		int totalCount = scheduleService.listStudentScheduleCount(date, pageSize, pageNum);
   		Pager pager = new Pager(pageSize,pageNum);
   		pager.setTotalCount(totalCount);
@@ -193,13 +193,13 @@
   	}
      
 	/**
-	 * 保存
+	 * 淇濆瓨
 	 * 
 	 * @param examInfo
 	 * @return
 	 * @throws Exception 
 	 */
-    @ApiOperation(value = "保存课表")
+    @ApiOperation(value = "淇濆瓨璇捐〃")
 	@RequestMapping(value = "/save", method = RequestMethod.POST)
 	public @ResponseBody Result save(@RequestBody CourseSchedule courseSchedule) throws Exception {
     	if (StringUtils.isEmpty(courseSchedule.getScheduleId())) {
@@ -212,13 +212,13 @@
 	}
 
 	/**
-	 * 删除
+	 * 鍒犻櫎
 	 * 
 	 * @param examIds
 	 * @return
 	 */
-	@ApiOperation(value = "删除课表", httpMethod = "GET")
-	@ApiImplicitParam(name = "scheduleIds", value = "课表ID字符串", required = true, dataType = "String", paramType = "body")
+	@ApiOperation(value = "鍒犻櫎璇捐〃", httpMethod = "GET")
+	@ApiImplicitParam(name = "scheduleIds", value = "璇捐〃ID瀛楃涓�", required = true, dataType = "String", paramType = "body")
 	@RequestMapping(value = "delete", method = RequestMethod.GET)
 	public @ResponseBody Result delete(String scheduleIds) {
 		Result result = new Result(true);
@@ -229,47 +229,47 @@
 	}
 	
 	/**
-	 * 发布课表
+	 * 鍙戝竷璇捐〃
 	 * 
 	 * @param scheduleIds
 	 * @return
 	 */
-	@ApiOperation(value = "发布课表")
+	@ApiOperation(value = "鍙戝竷璇捐〃")
 	@RequestMapping(value = "/publish", method = RequestMethod.GET)
 	public @ResponseBody Result publish(String scheduleIds) {
 		if (StringUtils.isEmpty(scheduleIds)) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		return this.scheduleService.doRelease(scheduleIds.split(","));
 	}
 
 	/**
-	 * 撤回课表
+	 * 鎾ゅ洖璇捐〃
 	 * 
 	 * @param scheduleIds
 	 * @return
 	 */
-	@ApiOperation(value = "撤回课表")
+	@ApiOperation(value = "鎾ゅ洖璇捐〃")
 	@RequestMapping(value = "/cancel", method = RequestMethod.GET)
 	public @ResponseBody Result cancel(String scheduleIds) {
 		if (StringUtils.isEmpty(scheduleIds)) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		
 		return this.scheduleService.doCancel(scheduleIds.split(","));
 	}
 	
 	/**
-	 * 课表详情
+	 * 璇捐〃璇︽儏
 	 * 
 	 * @param scheduleIds
 	 * @return
 	 */
-	@ApiOperation(value = "课表详情")
+	@ApiOperation(value = "璇捐〃璇︽儏")
 	@RequestMapping(value = "/detail", method = RequestMethod.GET)
 	public @ResponseBody Result detail(String scheduleId) {
 		if (StringUtils.isEmpty(scheduleId)) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		
 		CourseSchedule sche =  this.scheduleService.detail(scheduleId);
@@ -300,16 +300,16 @@
 	}
 	
 	/**
-	 * 标记有课的日期
+	 * 鏍囪鏈夎鐨勬棩鏈�
 	 * 
 	 * @param scheduleIds
 	 * @return
 	 */
-	@ApiOperation(value = "教师课表是否有课标识查询")
+	@ApiOperation(value = "鏁欏笀璇捐〃鏄惁鏈夎鏍囪瘑鏌ヨ")
 	@RequestMapping(value = "teacher/flag", method = RequestMethod.GET)
 	public @ResponseBody Result listTeacherDateFlag(Integer year,Integer month) {
 		if (year==null || month==null) {
-			return new Result(false, "参数错误");
+			return new Result(false, "鍙傛暟閿欒");
 		}
 		
 		List<Integer> listResult =  this.scheduleService.queryDateFlag(year, month);

--
Gitblit v1.8.0