From 6eed4f4600ba2c2d7b5d3cc14a1e0a9e4d8f0d83 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 17 十月 2023 10:09:19 +0800
Subject: [PATCH] 10.17

---
 cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageSchedulingController.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageSchedulingController.java b/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageSchedulingController.java
index 9fb040b..547367d 100644
--- a/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageSchedulingController.java
+++ b/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageSchedulingController.java
@@ -56,6 +56,7 @@
     @ResponseBody
     @PostMapping("/coursePackageScheduling/editCoursePackageScheduling")
     public void editCoursePackageScheduling(@RequestBody CoursePackageScheduling coursePackageScheduling){
+        coursePackageScheduling.setCoursePackageId(null);
         coursePackageSchedulingService.updateById(coursePackageScheduling);
     }
 }

--
Gitblit v1.7.1