puzhibing
2024-03-05 a8f90f717c73d7ff4d2355649f9f161a6f89aa9b
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(DeductionClassHourList deductionClassHourList){
        coursePackageOrderStudentService.backspaceClassHour(deductionClassHourList);
    }
}