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);
|
}
|