From 6faa8da685a95b1fce5f432f5bd41a870ccb5ade Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 29 八月 2025 11:08:13 +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