diff --git a/pom.xml b/pom.xml
index 4e9e452..f3f4d71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -227,8 +227,6 @@
commons-lang
2.6
-
-
commons-fileupload
diff --git a/src/main/java/com/teaching/backend/controller/courses/CoursesController.java b/src/main/java/com/teaching/backend/controller/courses/CoursesController.java
index 7e14395..adba450 100644
--- a/src/main/java/com/teaching/backend/controller/courses/CoursesController.java
+++ b/src/main/java/com/teaching/backend/controller/courses/CoursesController.java
@@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.LinkedHashSet;
+import java.util.List;
import java.util.Map;
/**
@@ -132,8 +133,8 @@ public class CoursesController {
@ApiOperation("查询学生列表")
@PostMapping("/studentList")
- public CommonResult> getStudentList(@RequestParam String userId){
- LinkedHashSet umsStudentList = coursesService.queryStudentList(userId);
+ public CommonResult> getStudentList(@RequestParam String userId){
+ List umsStudentList = coursesService.queryStudentList(userId);
return CommonResult.success(umsStudentList);
}
diff --git a/src/main/java/com/teaching/backend/controller/records/CourseLearningRecordController.java b/src/main/java/com/teaching/backend/controller/records/CourseLearningRecordController.java
index ed7b1b3..32be4d1 100644
--- a/src/main/java/com/teaching/backend/controller/records/CourseLearningRecordController.java
+++ b/src/main/java/com/teaching/backend/controller/records/CourseLearningRecordController.java
@@ -70,4 +70,19 @@ public class CourseLearningRecordController {
}
return CommonResult.success(coursesVOList);
}
+
+ /**
+ * 推荐课程
+ * @return
+ */
+ @ApiOperation("推荐课程")
+ @PostMapping("/recommendCourses")
+ public CommonResult> recommendCourses(@RequestParam String userId) {
+ List coursesVOList = courseLearningRecordService.queryrecommendCourses(userId);
+ if (coursesVOList == null){
+ CommonResult.failed("用户或角色错误");
+ }
+ return CommonResult.success(coursesVOList);
+ }
+
}
diff --git a/src/main/java/com/teaching/backend/controller/umsAdmin/UmsStudentManageController.java b/src/main/java/com/teaching/backend/controller/umsAdmin/UmsStudentManageController.java
new file mode 100644
index 0000000..6dbf21c
--- /dev/null
+++ b/src/main/java/com/teaching/backend/controller/umsAdmin/UmsStudentManageController.java
@@ -0,0 +1,72 @@
+package com.teaching.backend.controller.umsAdmin;
+
+import com.teaching.backend.common.CommonResult;
+import com.teaching.backend.model.dto.umsAdmin.UmsStudentPageQueryDTO;
+import com.teaching.backend.model.entity.umsAdmin.UmsStudentManage;
+import com.teaching.backend.service.umsAdmin.UmsStudentManageService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import java.util.Map;
+
+@RestController
+@Api(tags = "学生管理")
+@RequestMapping("/api/studentManage")
+@Slf4j
+public class UmsStudentManageController {
+
+ @Autowired
+ private UmsStudentManageService umsStudentManageService;
+
+ /**
+ * 学生管理分页查询
+ * @param umsStudentPageQueryDTO
+ * @return
+ */
+ @GetMapping("/page")
+ @ApiOperation("学生管理分页查询")
+ public CommonResult