From 99367ea1c11a68b420936e7f7db5fa7367da4f44 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期三, 22 一月 2025 11:44:54 +0800 Subject: [PATCH] 全部代码、数据库提交 --- xinquan-modules/xinquan-course/src/main/java/com/xinquan/course/controller/client/ClientCourseChapterController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xinquan-modules/xinquan-course/src/main/java/com/xinquan/course/controller/client/ClientCourseChapterController.java b/xinquan-modules/xinquan-course/src/main/java/com/xinquan/course/controller/client/ClientCourseChapterController.java index 6061882..9cea515 100644 --- a/xinquan-modules/xinquan-course/src/main/java/com/xinquan/course/controller/client/ClientCourseChapterController.java +++ b/xinquan-modules/xinquan-course/src/main/java/com/xinquan/course/controller/client/ClientCourseChapterController.java @@ -84,7 +84,7 @@ a+= byId.getVirtualLearnedNum(); Long data1 = remoteAppUserService.getCourseChapterHistoryCount(byId.getId()).getData(); b+=data1; - byId.setRealLearnedNum(a+b); + byId.setRealLearnedNum(b); return R.ok(byId); } @PostMapping("/updateCourseChapter") -- Gitblit v1.7.1