From 32a308be351a040d6c68fe5d4f482537e1884b75 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 08 九月 2025 08:28:08 +0800
Subject: [PATCH] 修改
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/SixInspectionServiceImpl.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SixInspectionServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SixInspectionServiceImpl.java
index a33843a..ead4a28 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SixInspectionServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SixInspectionServiceImpl.java
@@ -79,14 +79,14 @@
List<Long> delProblemIds, List<Long> delContentIds, List<SixInspectionProblem> sixInspectionProblemList) {
if (ObjectUtils.isNotEmpty(delProblemIds)) {
int update = sixInspectionProblemMapper.update(new SixInspectionProblem(),
- new LambdaUpdateWrapper<SixInspectionProblem>().set(SixInspectionProblem::getDelFlag, UserConstant.DEPT_DISABLE)
+ new LambdaUpdateWrapper<SixInspectionProblem>().set(SixInspectionProblem::getDelFlag, UserConstant.DISENABLE)
.set(SixInspectionProblem::getUpdateTime, LocalDateTime.now()).set(SixInspectionProblem::getUpdateBy, SecurityUtils.getUsername())
.in(SixInspectionProblem::getId, delProblemIds)
);
}
if (ObjectUtils.isNotEmpty(delContentIds)) {
int update = sixInspectionContentMapper.update(new SixInspectionContent(),
- new LambdaUpdateWrapper<SixInspectionContent>().set(SixInspectionContent::getDelFlag, UserConstant.DEPT_DISABLE)
+ new LambdaUpdateWrapper<SixInspectionContent>().set(SixInspectionContent::getDelFlag, UserConstant.DISENABLE)
.set(SixInspectionContent::getUpdateTime, LocalDateTime.now()).set(SixInspectionContent::getUpdateBy, SecurityUtils.getUsername())
.in(SixInspectionContent::getId, delContentIds)
);
@@ -142,17 +142,17 @@
public CommonResult deletedSixInspection(Long id) {
int update = sixInspectionMapper.update(new SixInspection(),
new LambdaUpdateWrapper<SixInspection>().eq(SixInspection::getId, id)
- .set(SixInspection::getDelFlag, UserConstant.DEPT_DISABLE).set(SixInspection::getUpdateTime, LocalDateTime.now())
+ .set(SixInspection::getDelFlag, UserConstant.DISENABLE).set(SixInspection::getUpdateTime, LocalDateTime.now())
.set(SixInspection::getUpdateBy, SecurityUtils.getUsername()));
if (update > 0) {
sixInspectionContentMapper.update(new SixInspectionContent(),
new LambdaUpdateWrapper<SixInspectionContent>().eq(SixInspectionContent::getSixInspectionId, id)
- .set(SixInspectionContent::getDelFlag, UserConstant.DEPT_DISABLE).set(SixInspectionContent::getUpdateTime, LocalDateTime.now())
+ .set(SixInspectionContent::getDelFlag, UserConstant.DISENABLE).set(SixInspectionContent::getUpdateTime, LocalDateTime.now())
.set(SixInspectionContent::getUpdateBy, SecurityUtils.getUsername())
);
sixInspectionProblemMapper.update(new SixInspectionProblem(),
new LambdaUpdateWrapper<SixInspectionProblem>().eq(SixInspectionProblem::getSixInspectionId, id)
- .set(SixInspectionProblem::getDelFlag, UserConstant.DEPT_DISABLE).set(SixInspectionProblem::getUpdateTime, LocalDateTime.now())
+ .set(SixInspectionProblem::getDelFlag, UserConstant.DISENABLE).set(SixInspectionProblem::getUpdateTime, LocalDateTime.now())
.set(SixInspectionProblem::getUpdateBy, SecurityUtils.getUsername())
);
}
--
Gitblit v1.9.2