| | |
| | | package com.dsh.course.feignClient.course; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.dsh.course.entity.CoursePackageOrderStudent; |
| | | import com.dsh.course.feignClient.course.model.QueryRegistrationRecord; |
| | | import com.dsh.course.feignClient.course.model.QueryWalkInStudentList; |
| | | import com.dsh.course.feignClient.course.model.TCoursePackage; |
| | | import com.dsh.course.feignClient.course.model.*; |
| | | 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 com.dsh.guns.modular.system.model.*; |
| | | |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | */ |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackagePaymentClient { |
| | | |
| | | |
| | | /** |
| | | * 查询学员入学时间 根据第一次购买课包的时间 |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/coursePackagePayment/getTime") |
| | | String getTime(@RequestBody Integer studentId); |
| | | /** |
| | | * 获取报名订单记录列表 |
| | | */ |
| | | @RequestMapping("/registerOrder/listAllRegister") |
| | | List<RegisterOrderVO> listAllRegister(@RequestBody RegisterOrderQuery query); |
| | | /** |
| | | * 添加购课记录-后台 |
| | | * @return |
| | |
| | | TCoursePackagePayment queryCoursePackagePaymentById(@RequestParam("id")Long id); |
| | | |
| | | |
| | | @PostMapping("/coursePackagePayment/consumeCourse") |
| | | Integer consumeCourse(@RequestBody Integer coursePackagePaymentId); |
| | | |
| | | @PostMapping("/coursePackagePayment/queryCoursePackagePaymentById1") |
| | | CoursePackageOrderStudent queryCoursePackagePaymentById1(@RequestParam("id")Long id); |
| | | |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * @param coursePackagePayment |
| | |
| | | @PostMapping("/coursePackagePayment/editCoursePackagePayment") |
| | | void editCoursePackagePayment(TCoursePackagePayment coursePackagePayment); |
| | | |
| | | @PostMapping("/coursePackagePayment/editCoursePackagePayment1") |
| | | void editCoursePackagePayment1(@RequestBody TCoursePackagePayment coursePackagePayment); |
| | | |
| | | @PostMapping("/coursePackagePayment/editCoursePackagePayment2") |
| | | void editCoursePackagePayment2(@RequestBody CoursePackageOrderStudent coursePackageOrderStudent); |
| | | |
| | | |
| | | @PostMapping("/coursePackagePayment/CountqueryByClassId") |
| | | Integer queryByClassId(Integer id); |
| | | |
| | | @PostMapping("/coursePackagePayment/queryCourseData") |
| | | List<Map<String,Object>> queryCourseData(List<Integer> ids); |
| | | |
| | | @PostMapping("/coursePackagePayment/coursePt") |
| | | HashMap<String, Object> coursePt(List<Integer> userPt); |
| | | @PostMapping("/coursePackagePayment/courseYys") |
| | | HashMap<String, Object> courseYys(@RequestBody List<Integer> userPt); |
| | | @PostMapping("/coursePackagePayment/courseStore") |
| | | HashMap<String, Object> courseStore(@RequestBody List<Integer> userPt); |
| | | |
| | | @GetMapping("/coursePackagePayment/courseStore/{appUserId}/{coursePackageId}") |
| | | List<CoursePackageOrderStudent> getByUserIdAndCoursePackageId |
| | | (@PathVariable("appUserId") Integer appUserId, @PathVariable("coursePackageId") Integer coursePackageId); |
| | | |
| | | |
| | | @PostMapping("/coursePackagePayment/queryPaymentCoursePackage") |
| | | List<Integer> queryPaymentCoursePackage(List<Integer> storeIds); |
| | | } |