44323
2024-03-08 db3e6f6d5a8f29a5dc576aba2eab76a8133ce03c
cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageOrderStudentController.java
@@ -42,7 +42,18 @@
     */
    @ResponseBody
    @PostMapping("/deductionClassHour")
    public boolean deductionClassHour(@RequestBody DeductionClassHourList deductionClassHourList){
    public DeductionClassHourList deductionClassHour(@RequestBody DeductionClassHourList deductionClassHourList){
        return coursePackageOrderStudentService.deductionClassHour(deductionClassHourList);
    }
    /**
     * 回退课时和回退排课数据
     * @param deductionClassHourList
     */
    @ResponseBody
    @PostMapping("/backspaceClassHour")
    public void backspaceClassHour(@RequestBody DeductionClassHourList deductionClassHourList){
        coursePackageOrderStudentService.backspaceClassHour(deductionClassHourList);
    }
}