From 47341da3121ce10013c8a99e45ee1b57480d072b Mon Sep 17 00:00:00 2001 From: Alan <3052806735@qq.com> Date: Tue, 11 Jun 2024 19:17:41 +0800 Subject: [PATCH] =?UTF-8?q?courses=E8=A1=A8=E6=96=B0=E5=A2=9E=E5=AD=97?= =?UTF-8?q?=E6=AE=B5status?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backend/service/impl/courses/CoursesServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/teaching/backend/service/impl/courses/CoursesServiceImpl.java b/src/main/java/com/teaching/backend/service/impl/courses/CoursesServiceImpl.java index 6ad4e86..bd2d431 100644 --- a/src/main/java/com/teaching/backend/service/impl/courses/CoursesServiceImpl.java +++ b/src/main/java/com/teaching/backend/service/impl/courses/CoursesServiceImpl.java @@ -164,6 +164,7 @@ public class CoursesServiceImpl extends ServiceImpl impl coursesMapper.updateById(course); BeanUtil.copyProperties(coursesDTO, course); course.setStatus(0); + course.setUpdateTime(LocalDateTime.now()); coursesMapper.updateById(course); }