44323
2024-03-06 b0254c5a17b3915eb00fdcb33f0eea222cff78ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.dsh.course.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.course.entity.CoursePackageOrderStudent;
import com.dsh.course.feignclient.model.RecordAppoint;
import com.dsh.course.model.DeductionClassHourList;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2023/11/25 14:05
 */
public interface ICoursePackageOrderStudentService extends IService<CoursePackageOrderStudent> {
 
    /**
     * 查询学员的课包上课记录
     *
     * @param stuId
     * @param appUserId
     * @return
     */
    List<RecordAppoint> obtainStuClassDetails(Integer stuId, Integer appUserId, Integer pageNum);
 
 
    /**
     * 扣除学员课时
     * @param deductionClassHourList
     * @return
     */
    DeductionClassHourList deductionClassHour(DeductionClassHourList deductionClassHourList);
 
 
    /**
     * 回退课时和回退排课数据
     * @param deductionClassHourList
     */
    void backspaceClassHour(DeductionClassHourList deductionClassHourList);
}