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/DocumentBorrowCopyServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentBorrowCopyServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentBorrowCopyServiceImpl.java index 60656f6..34299ce 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentBorrowCopyServiceImpl.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentBorrowCopyServiceImpl.java @@ -72,7 +72,7 @@ private void batchSave(Long id, List<DocumentBorrowCopyRecord> documentBorrowCopyRecordList,List<Long> delIds) { if (ObjectUtils.isNotEmpty(delIds)) { int update = documentBorrowCopyRecordMapper.update(new DocumentBorrowCopyRecord(), - new LambdaUpdateWrapper<DocumentBorrowCopyRecord>().set(DocumentBorrowCopyRecord::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentBorrowCopyRecord>().set(DocumentBorrowCopyRecord::getDelFlag, UserConstant.DISENABLE) .set(DocumentBorrowCopyRecord::getUpdateTime, LocalDateTime.now()) .set(DocumentBorrowCopyRecord::getUpdateBy, SecurityUtils.getUsername()).in(DocumentBorrowCopyRecord::getId, delIds) ); @@ -111,13 +111,13 @@ @Transactional public CommonResult deletedDocumentBorrowCopy(Long id) { int i = documentBorrowCopyMapper.update(new DocumentBorrowCopy(), - new LambdaUpdateWrapper<DocumentBorrowCopy>().set(DocumentBorrowCopy::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentBorrowCopy>().set(DocumentBorrowCopy::getDelFlag, UserConstant.DISENABLE) .set(DocumentBorrowCopy::getUpdateTime, LocalDateTime.now()) .set(DocumentBorrowCopy::getUpdateBy, SecurityUtils.getUsername()).eq(DocumentBorrowCopy::getId, id) ); if (i > 0){ documentBorrowCopyRecordMapper.update(new DocumentBorrowCopyRecord(), - new LambdaUpdateWrapper<DocumentBorrowCopyRecord>().set(DocumentBorrowCopyRecord::getDelFlag, UserConstant.DEPT_DISABLE) + new LambdaUpdateWrapper<DocumentBorrowCopyRecord>().set(DocumentBorrowCopyRecord::getDelFlag, UserConstant.DISENABLE) .set(DocumentBorrowCopyRecord::getUpdateTime, LocalDateTime.now()).set(DocumentBorrowCopyRecord::getUpdateBy, SecurityUtils.getUsername()) .eq(DocumentBorrowCopyRecord::getDocumentBorrowId, id)); } -- Gitblit v1.9.2