puzhibing
2023-08-04 c5cb162b5cbdb589e97290fba3ac3e9241ec48d4
cloud-server-course/src/main/java/com/dsh/course/service/TCoursePackageService.java
@@ -1,7 +1,14 @@
package com.dsh.course.service;
import com.dsh.course.entity.TCoursePackage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.course.entity.TCoursePackage;
import com.dsh.course.feignclient.model.CourseOfStoreVo;
import com.dsh.course.model.*;
import com.dsh.course.util.ResultUtil;
import java.util.List;
import java.util.Map;
/**
 * <p>
@@ -13,4 +20,43 @@
 */
public interface TCoursePackageService extends IService<TCoursePackage> {
    List<CourseOfStoreVo> queryStoreOfCourse();
    /**
     * 获取课程列表
     * @param coursePackageList
     * @return
     * @throws Exception
     */
    List<CoursePackageListVo> queryCourseList(Integer uid, CoursePackageList coursePackageList) throws Exception;
    /**
     * 获取课包详情
     * @param uid
     * @param id
     * @return
     * @throws Exception
     */
    CoursePackageInfo queryCourseInfo(Integer uid, Integer id, String lon, String lat) throws Exception;
    /**
     * 课程报名支付
     * @param uid
     * @param paymentCourseVo
     * @return
     * @throws Exception
     */
    ResultUtil paymentCourse(Integer uid, PaymentCourseVo paymentCourseVo) throws Exception;
    /**
     * 获取课包管理列表数据
     * @param queryCoursePackageLists
     * @return
     */
    List<Map<String, Object>> queryCoursePackageLists(Page<Map<String, Object>> page, QueryCoursePackageLists queryCoursePackageLists);
}