| | |
| | | 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.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackagePaymentClient { |
| | | |
| | | /** |
| | | * 获取学员剩余课时 |
| | | * @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 |
| | | * @return |