From 35fec86ca49916eb8a8082f7f1e99185ee1e3c24 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期一, 25 九月 2023 18:02:17 +0800 Subject: [PATCH] 9.25 --- cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentClient.java | 33 +++++++++++++++++++++++++++++++-- 1 files changed, 31 insertions(+), 2 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentClient.java b/cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentClient.java index 224d9c8..d178b29 100644 --- a/cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentClient.java +++ b/cloud-server-management/src/main/java/com/dsh/course/feignClient/course/CoursePackagePaymentClient.java @@ -4,9 +4,13 @@ import com.dsh.course.feignClient.course.model.QueryRegistrationRecord; import com.dsh.course.feignClient.course.model.QueryWalkInStudentList; import com.dsh.course.feignClient.course.model.TCoursePackagePayment; +import com.dsh.guns.modular.system.model.CoursePackagePayDTO; +import com.dsh.guns.modular.system.model.CoursePackagePaymentQuery; +import com.dsh.guns.modular.system.model.CoursePackagePaymentVO; import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.*; +import java.util.List; import java.util.Map; /** @@ -17,6 +21,31 @@ public interface CoursePackagePaymentClient { + /** + * 添加购课记录-后台 + * @return + */ + @RequestMapping("/base/coursePackagePayment/add") + Object addCoursePackagePayment(@RequestBody com.dsh.guns.modular.system.model.TCoursePackagePayment coursePackagePayment); + /** + * 获取学员剩余课时 + * @param id + * @return + */ + @PostMapping("/coursePackagePayment/queryResidueClassHourById") + public Integer queryResidueClassHourById(@RequestBody Long id); + + /** + * 手动支付 + * @return + */ + @RequestMapping("/base/coursePackagePayment/changeState") + Object changeState(@RequestBody CoursePackagePayDTO dto); + /** + * 获取购课记录 + */ + @RequestMapping("/coursePackagePayment/listAll") + List<CoursePackagePaymentVO> listAll(@RequestBody CoursePackagePaymentQuery query); /** * 获取课程报名信息列表 * @param queryRegistrationRecord @@ -41,7 +70,7 @@ * @return */ @PostMapping("/coursePackagePayment/queryCoursePackagePaymentById") - TCoursePackagePayment queryCoursePackagePaymentById(Long id); + TCoursePackagePayment queryCoursePackagePaymentById(@RequestParam("id")Long id); /** -- Gitblit v1.7.1