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/DocumentDistributionCollectionServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentDistributionCollectionServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentDistributionCollectionServiceImpl.java index e6017e2..a2d3511 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentDistributionCollectionServiceImpl.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentDistributionCollectionServiceImpl.java @@ -71,7 +71,7 @@ private void batchSave(Long id, List<DocumentDistributionCollectionRecord> documentDistributionCollectionRecordList,List<Long> delIds) { if (ObjectUtils.isNotEmpty(delIds)) { int update = documentDistributionCollectionRecordMapper.update(new DocumentDistributionCollectionRecord(), - new LambdaUpdateWrapper<DocumentDistributionCollectionRecord>().set(DocumentDistributionCollectionRecord::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentDistributionCollectionRecord>().set(DocumentDistributionCollectionRecord::getDelFlag, UserConstant.DISENABLE) .set(DocumentDistributionCollectionRecord::getUpdateTime, LocalDateTime.now()) .set(DocumentDistributionCollectionRecord::getUpdateBy, SecurityUtils.getUsername()).in(DocumentDistributionCollectionRecord::getId, delIds) ); @@ -112,13 +112,13 @@ @Transactional public CommonResult deletedDocumentDistributionCollection(Long id) { int i = documentDistributionCollectionMapper.update(new DocumentDistributionCollection(), - new LambdaUpdateWrapper<DocumentDistributionCollection>().set(DocumentDistributionCollection::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentDistributionCollection>().set(DocumentDistributionCollection::getDelFlag, UserConstant.DISENABLE) .set(DocumentDistributionCollection::getUpdateTime, LocalDateTime.now()) .set(DocumentDistributionCollection::getUpdateBy, SecurityUtils.getUsername()).eq(DocumentDistributionCollection::getId, id) ); if (i > 0){ documentDistributionCollectionRecordMapper.update(new DocumentDistributionCollectionRecord(), - new LambdaUpdateWrapper<DocumentDistributionCollectionRecord>().set(DocumentDistributionCollectionRecord::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentDistributionCollectionRecord>().set(DocumentDistributionCollectionRecord::getDelFlag, UserConstant.DISENABLE) .set(DocumentDistributionCollectionRecord::getUpdateTime, LocalDateTime.now()).set(DocumentDistributionCollectionRecord::getUpdateBy, SecurityUtils.getUsername()) .eq(DocumentDistributionCollectionRecord::getDocumentId, id)); } -- Gitblit v1.9.2