|  |  |  | 
|---|
|  |  |  | package com.dsh.account.feignclient.course; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dsh.account.feignclient.course.model.GetStudentCourse; | 
|---|
|  |  |  | import org.springframework.cloud.openfeign.FeignClient; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestParam; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestBody; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @FeignClient(value = "mb-cloud-course") | 
|---|
|  |  |  | public interface CourseRecordClient { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/base/courseRecord/queryDeduClassHours") | 
|---|
|  |  |  | public Integer getDeductionClassHour(@RequestParam("courseId") Integer courseId, | 
|---|
|  |  |  | @RequestParam("stuId") Integer stuId, | 
|---|
|  |  |  | @RequestParam("appUserId") Integer appUserId); | 
|---|
|  |  |  | public Integer getDeductionClassHour(@RequestBody GetStudentCourse course); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/base/courseRecord/cancelCourseData") | 
|---|
|  |  |  | Integer cancelCourseRecordClass(@RequestBody Integer courseRecordId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|