nickchange
2023-11-17 a9564eae9f0169ca39329b2f14a8f13d13358a0a
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.dsh.course.feignClient.course;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsh.course.feignClient.course.model.CoursePackageStudent;
import com.dsh.course.feignClient.course.model.QueryCoursePackageStudent;
import com.dsh.course.feignClient.course.model.QueryCoursePackageStudentList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author zhibing.pu
 * @Date 2023/8/11 17:38
 */
@FeignClient("mb-cloud-course")
public interface CoursePackageStudentClient {
 
 
    /**
     * 获取课程排课预约数据
     * @param queryCoursePackageStudentList
     * @return
     */
    @PostMapping("/coursePackageStudent/queryCoursePackageStudentList")
    Page<Map<String, Object>> queryCoursePackageStudentList(QueryCoursePackageStudentList queryCoursePackageStudentList);
 
 
    /**
     * 根据id查询数据
     * @param id
     * @return
     */
    @PostMapping("/coursePackageStudent/queryCoursePackageStudentById")
    CoursePackageStudent queryCoursePackageStudentById(Long id);
 
 
    /**
     * 修改数据
     * @param coursePackageStudent
     */
    @PostMapping("/coursePackageStudent/editCoursePackageStudent")
    void editCoursePackageStudent(CoursePackageStudent coursePackageStudent);
 
 
    /**
     * 根据排课id获取预约数据
     * @param coursePackageSchedulingId
     * @return
     */
    @PostMapping("/coursePackageStudent/queryByCoursePackageSchedulingId")
    List<CoursePackageStudent> queryByCoursePackageSchedulingId(@RequestBody List<Long> coursePackageSchedulingId);
 
 
    /**
     * 获取学员上课数据
     * @param queryCoursePackageStudent
     * @return
     */
    @PostMapping("/coursePackageStudent/queryCoursePackageStudent")
    List<CoursePackageStudent> queryCoursePackageStudent(QueryCoursePackageStudent queryCoursePackageStudent);
 
 
    /**
     * 添加学员上课数据
     * @param coursePackageStudent
     */
    @PostMapping("/coursePackageStudent/addCoursePackageStudent")
    void addCoursePackageStudent(CoursePackageStudent coursePackageStudent);
}