puzhibing
2024-03-08 1d3134d07c0351bdcc35e58a585c6d6e78571a94
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);
    }
}