puzhibing
2023-12-08 f88cfa02e36752e4acad7adc4b045155e8e50f21
cloud-server-course/src/main/java/com/dsh/course/service/TCoursePackagePaymentService.java
@@ -14,6 +14,7 @@
import com.dsh.course.util.ResultUtil;
import io.swagger.models.auth.In;
import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -29,9 +30,9 @@
public interface TCoursePackagePaymentService extends IService<TCoursePackagePayment> {
    /**
     * 获取课程购买人数
     *
     * @param coursePackageId
     * @return
     */
@@ -39,22 +40,25 @@
    /**
     * 查询课包发布的课后视频列表
     *
     * @param search
     * @param courseIds
     * @return
     */
    List<AppUserVideoResponse> queryAfterVideo(CourseOfAfterRequest search,List<Integer> courseIds);
    List<AppUserVideoResponse> queryAfterVideo(CourseOfAfterRequest search, List<Integer> courseIds);
    /**
     * 获取课后视频详情
     *
     * @param detailsRequest
     * @param appUserId
     * @return
     */
    CourseOfVideoResponse queryVideoDetails(CourseWithDetailsRequest detailsRequest,Integer appUserId);
    CourseOfVideoResponse queryVideoDetails(CourseWithDetailsRequest detailsRequest, Integer appUserId);
    /**
     * 更新视频学习状态
     *
     * @param detailsRequest
     * @param appUserId
     * @return
@@ -63,6 +67,7 @@
    /**
     * 获取用户已报名课程
     *
     * @param courseTypeId
     * @param appUserId
     * @return
@@ -71,23 +76,24 @@
    /**
     * 获取已报名课包详情
     *
     * @param coursePayId
     * @param appUserId
     * @return
     */
    CourseDetailsResponse queryRegisteredCourseDetails(Long coursePayId, Integer appUserId);
    CourseDetailsResponse queryRegisteredCourseDetails(Long coursePayId, Integer appUserId, String lon, String lat);
    ResultUtil ContinuationOrpaymentCourse(Integer userIdFormRedis, ClasspaymentRequest request);
    /**
     * 查询学员的课包上课记录
     *
     * @param stuId
     * @param appUserId
     * @return
     */
    List<RecordAppoint> obtainStuClassDetails(Integer stuId, Integer appUserId);
    List<RecordAppoint> obtainStuClassDetails(Integer stuId, Integer appUserId, Integer pageNum);
    ResultUtil insertVipPaymentCallback(String code, String orderNumber);
@@ -96,6 +102,7 @@
    /**
     * 获取课包报名信息
     *
     * @param page
     * @param queryRegistrationRecord
     * @return
@@ -105,6 +112,7 @@
    /**
     * 获取未预约排课学员列表
     *
     * @param page
     * @param queryWalkInStudentList
     * @return
@@ -117,12 +125,12 @@
    PayCourseInfoReq payCourseInfo(Integer courseId);
    ResultUtil payCourse(PayCourseReq req, Integer userId);
    ResultUtil payCourse(PayCourseReq req, Integer userId) throws ParseException;
    void updateUseTime(Long id, Date date);
    List<Integer> getStudentIds(Long payId,Integer classId,Integer appId);
    List<Integer> getStudentIds(Long payId, Integer classId, Integer appId);
    boolean updateHoursById(TCoursePackagePayment byId, int i);
@@ -135,9 +143,10 @@
    List<RegisterOrderVO> listAllRegister(RegisterOrderQuery query);
    List<Map<String, Object>>  getStudentTotal(StudentQeryDto studentQeryDto);
    List<Map<String, Object>> getStudentTotal(StudentQeryDto studentQeryDto);
    List<Map<String, Object>> bypac(PacQueryDto pacQueryDto);
    List<TCoursePackagePayment> listOne(List<Integer> ids);
    Integer listStoreId(String code);