| | |
| | | package com.dsh.course.service; |
| | | |
| | | import com.alipay.api.AlipayApiException; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.dsh.course.entity.CoursePackagePaymentConfig; |
| | | import com.dsh.course.entity.TCoursePackage; |
| | | import com.dsh.course.feignclient.model.CourseOfStoreVo; |
| | | import com.dsh.course.model.*; |
| | |
| | | List<CourseOfStoreVo> queryStoreOfCourse(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取课程列表 |
| | | * |
| | | * @param coursePackageList |
| | | * @return |
| | | * @throws Exception |
| | |
| | | |
| | | /** |
| | | * 获取课包详情 |
| | | * |
| | | * @param uid |
| | | * @param id |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | CoursePackageInfo queryCourseInfo(Integer uid, Integer id, String lon, String lat) throws Exception; |
| | | CoursePackageInfo queryCourseInfo(Integer uid, Integer id, String lon, String lat, Integer stuId) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 课程报名支付 |
| | | * |
| | | * @param uid |
| | | * @param paymentCourseVo |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * 获取课包管理列表数据 |
| | | * |
| | | * @param queryCoursePackageLists |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 添加课包 |
| | | * |
| | | * @param coursePackage |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param coursePackage |
| | | */ |
| | | void updateCoursePackageById(TCoursePackage coursePackage); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取课包审核列表 |
| | | * |
| | | * @param queryExamineCoursePackageLists |
| | | * @return |
| | | */ |
| | |
| | | |
| | | List<Map<String, Object>> queryByConfigId(Integer oneId); |
| | | |
| | | String getHours(Integer coursePackageId); |
| | | List<Integer> getHours(Integer coursePackageId); |
| | | |
| | | ResultUtil paymentCourseCouponList(Integer uid, Integer coursePackagePaymentConfigId); |
| | | |
| | | |
| | | List<CoursePackageListVo> queryCourseListOne(CoursePackageList coursePackageList) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 购买课程支付成功后的回调处理 |
| | | * |
| | | * @param code |
| | | * @param trade_no |
| | | * @return |
| | | */ |
| | | ResultUtil paymentCourseCallback(String code, String trade_no, String attach) throws AlipayApiException; |
| | | |
| | | |
| | | |
| | | void addCoursePackageOrderStudent(Long coursePackageOrderId, CoursePackagePaymentConfig coursePackagePaymentConfig); |
| | | |
| | | |
| | | |
| | | void moneyOut(String outNum, String tradeNo,String code) throws AlipayApiException; |
| | | } |