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> 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 queryByCoursePackageSchedulingId(@RequestBody List coursePackageSchedulingId); /** * 获取学员上课数据 * @param queryCoursePackageStudent * @return */ @PostMapping("/coursePackageStudent/queryCoursePackageStudent") List queryCoursePackageStudent(QueryCoursePackageStudent queryCoursePackageStudent); /** * 添加学员上课数据 * @param coursePackageStudent */ @PostMapping("/coursePackageStudent/addCoursePackageStudent") void addCoursePackageStudent(CoursePackageStudent coursePackageStudent); }