From b27efc697f2f81e0d0f247a2708e58af52a5df9b Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 23 十月 2025 15:14:33 +0800
Subject: [PATCH] bug修改,后台新增修改用户积分
---
cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/feignclient/course/CoursePackageOrderStudentClient.java | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/feignclient/course/CoursePackageOrderStudentClient.java b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/feignclient/course/CoursePackageOrderStudentClient.java
index ab995cd..76c7a15 100644
--- a/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/feignclient/course/CoursePackageOrderStudentClient.java
+++ b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/feignclient/course/CoursePackageOrderStudentClient.java
@@ -17,18 +17,37 @@
/**
- * 根据学院id获取剩余有效课时数据
+ * 根据学员id获取剩余有效课时数据
* @param studentId
* @return
*/
- @PostMapping("/getCoursePackageOrderStudent")
+ @PostMapping("/coursePackageOrderStudent/getCoursePackageOrderStudent")
List<CoursePackageOrderStudent> getCoursePackageOrderStudent(Integer studentId);
+
+
+ /**
+ * 根据用户id获取剩余有效课时数据
+ * @param appUserId
+ * @return
+ */
+ @PostMapping("/coursePackageOrderStudent/getCoursePackageOrderUser")
+ List<CoursePackageOrderStudent> getCoursePackageOrderUser(Integer appUserId);
+
/**
* 扣减学员课时
* @param deductionClassHourList
*/
- @PostMapping("/deductionClassHour")
- boolean deductionClassHour(DeductionClassHourList deductionClassHourList);
+ @PostMapping("/coursePackageOrderStudent/deductionClassHour")
+ DeductionClassHourList deductionClassHour(DeductionClassHourList deductionClassHourList);
+
+
+ /**
+ * 回退课时后添加排课记录
+ * @param deductionClassHourList
+ */
+ @PostMapping("/coursePackageOrderStudent/backspaceClassHour")
+ void backspaceClassHour(DeductionClassHourList deductionClassHourList);
+
}
--
Gitblit v1.7.1