From 204909ac937a012b8a753ed2dc83a6e2877139c8 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 11 七月 2024 14:55:00 +0800 Subject: [PATCH] feat:答卷次数列表 --- src/main/java/com/ycl/jxkg/service/impl/ClassesServiceImpl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/impl/ClassesServiceImpl.java b/src/main/java/com/ycl/jxkg/service/impl/ClassesServiceImpl.java index d4b08a9..2f06ffd 100644 --- a/src/main/java/com/ycl/jxkg/service/impl/ClassesServiceImpl.java +++ b/src/main/java/com/ycl/jxkg/service/impl/ClassesServiceImpl.java @@ -144,4 +144,13 @@ .list(); return Result.ok(list); } + + @Override + public Result recover(Integer id) { + new LambdaUpdateChainWrapper<>(baseMapper) + .eq(Classes::getId, id) + .set(Classes::getStatus, ClassesStatusEnum.NORMAL) + .update(); + return Result.ok("鐝骇宸茬粡鎭㈠姝e父"); + } } -- Gitblit v1.8.0