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/AnnualVerificationPlanServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/AnnualVerificationPlanServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/AnnualVerificationPlanServiceImpl.java index 748a0a8..5d17d42 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/AnnualVerificationPlanServiceImpl.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/AnnualVerificationPlanServiceImpl.java @@ -74,7 +74,7 @@ private void batchSave(Long id, List<AnnualVerificationDevice> annualVerificationDevices, List<Long> delData) { if (ObjectUtils.isNotEmpty(delData)){ int update = annualVerificationDeviceMapper.update(new AnnualVerificationDevice(), - new LambdaUpdateWrapper<AnnualVerificationDevice>().set(AnnualVerificationDevice::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<AnnualVerificationDevice>().set(AnnualVerificationDevice::getDelFlag, UserConstant.DISENABLE) .set(AnnualVerificationDevice::getUpdateTime, LocalDateTime.now()).set(AnnualVerificationDevice::getUpdateBy, SecurityUtils.getUsername()) .in(AnnualVerificationDevice::getId, delData) ); @@ -115,13 +115,13 @@ public CommonResult deletedAnnualVerificationPlan(Long id) { int i = annualVerificationPlanMapper.update(new AnnualVerificationPlan(), - new LambdaUpdateWrapper<AnnualVerificationPlan>().eq(AnnualVerificationPlan::getId, id).set(AnnualVerificationPlan::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<AnnualVerificationPlan>().eq(AnnualVerificationPlan::getId, id).set(AnnualVerificationPlan::getDelFlag, UserConstant.DISENABLE) .set(AnnualVerificationPlan::getUpdateTime, LocalDateTime.now()).set(AnnualVerificationPlan::getUpdateBy, SecurityUtils.getUsername()) ); if (i > 0) { annualVerificationDeviceMapper.update(new AnnualVerificationDevice(), new LambdaUpdateWrapper<AnnualVerificationDevice>().eq(AnnualVerificationDevice::getAnnualVerificationId, id) - .set(AnnualVerificationDevice::getDelFlag, UserConstant.DEPT_DISABLE) + .set(AnnualVerificationDevice::getDelFlag, UserConstant.DISENABLE) .set(AnnualVerificationDevice::getUpdateTime, LocalDateTime.now()) .set(AnnualVerificationDevice::getUpdateBy, SecurityUtils.getUsername())); } -- Gitblit v1.9.2