package com.dsh.course.feignClient.course;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.dsh.course.feignClient.course.model.QueryRegistrationRecord;
|
import com.dsh.course.feignClient.course.model.QueryWalkInStudentList;
|
import com.dsh.course.feignClient.course.model.TCoursePackagePayment;
|
import com.dsh.guns.modular.system.model.CoursePackagePayDTO;
|
import com.dsh.guns.modular.system.model.CoursePackagePaymentQuery;
|
import com.dsh.guns.modular.system.model.CoursePackagePaymentVO;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/8/10 19:51
|
*/
|
@FeignClient("mb-cloud-course")
|
public interface CoursePackagePaymentClient {
|
|
|
/**
|
* 添加购课记录-后台
|
* @return
|
*/
|
@RequestMapping("/base/coursePackagePayment/add")
|
Object addCoursePackagePayment(@RequestBody com.dsh.guns.modular.system.model.TCoursePackagePayment coursePackagePayment);
|
/**
|
* 获取学员剩余课时
|
* @param id
|
* @return
|
*/
|
@PostMapping("/coursePackagePayment/queryResidueClassHourById")
|
public Integer queryResidueClassHourById(@RequestBody Long id);
|
|
/**
|
* 手动支付
|
* @return
|
*/
|
@RequestMapping("/base/coursePackagePayment/changeState")
|
Object changeState(@RequestBody CoursePackagePayDTO dto);
|
/**
|
* 获取购课记录
|
*/
|
@RequestMapping("/coursePackagePayment/listAll")
|
List<CoursePackagePaymentVO> listAll(@RequestBody CoursePackagePaymentQuery query);
|
/**
|
* 获取课程报名信息列表
|
* @param queryRegistrationRecord
|
* @return
|
*/
|
@PostMapping("/coursePackagePayment/queryRegistrationRecord")
|
Page<Map<String, Object>> queryRegistrationRecord(QueryRegistrationRecord queryRegistrationRecord);
|
|
|
/**
|
* 获取未预约排课学员列表
|
* @param queryWalkInStudentList
|
* @return
|
*/
|
@PostMapping("/coursePackagePayment/queryWalkInStudentList")
|
Page<Map<String, Object>> queryWalkInStudentList(QueryWalkInStudentList queryWalkInStudentList);
|
|
|
/**
|
* 根据id获取数据
|
* @param id
|
* @return
|
*/
|
@PostMapping("/coursePackagePayment/queryCoursePackagePaymentById")
|
TCoursePackagePayment queryCoursePackagePaymentById(Long id);
|
|
|
/**
|
* 修改数据
|
* @param coursePackagePayment
|
*/
|
@PostMapping("/coursePackagePayment/editCoursePackagePayment")
|
void editCoursePackagePayment(TCoursePackagePayment coursePackagePayment);
|
|
|
@PostMapping("/coursePackagePayment/CountqueryByClassId")
|
Integer queryByClassId(Integer id);
|
}
|