From 4b6a1e63343adb370b3649e9c9e38315c9411f09 Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 09 十月 2023 18:18:32 +0800 Subject: [PATCH] 折扣 --- cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java b/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java index 3359ab0..555c8a6 100644 --- a/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java +++ b/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java @@ -210,6 +210,7 @@ @ResponseBody @PostMapping("/coursePackage/addCoursePackage") public Integer addCoursePackage(@RequestBody TCoursePackage coursePackage){ + coursePackage.setNeedNum(coursePackage.getCodeTime()); return coursePackageService.addCoursePackage(coursePackage); } -- Gitblit v1.7.1