From 93263a97bd557c311b3e87dd706800f2b75a1b8c Mon Sep 17 00:00:00 2001 From: chen <2710907404@qq.com> Date: Tue, 19 Nov 2024 16:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/EntrustAlterApplyServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustAlterApplyServiceImpl.java b/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustAlterApplyServiceImpl.java index addb644..b7529a3 100644 --- a/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustAlterApplyServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustAlterApplyServiceImpl.java @@ -73,7 +73,7 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl entrustAlterApplyVOPage = baseMapper.getEntrustAlterApplyVOPage(new Page<>(query.getCurrent(), query.getSize()), query); - entrustAlterApplyVOPage.getRecords().parallelStream().forEach(this::fillVOInfo); + entrustAlterApplyVOPage.getRecords().forEach(this::fillVOInfo); return entrustAlterApplyVOPage; } @@ -211,7 +211,9 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpllambdaUpdate().eq(CaseEvent::getId, entrustment.getCaseId()).set(CaseEvent::getCaseBrief, dto.getCaseBrief())); // 添加更新记录 |
代表换行 updateRecordBuilder.append(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); - updateRecordBuilder.append("
案件更新记录:").append("
该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); + if (!oldCaseInfo.equals(dto.getCaseBrief())) { + updateRecordBuilder.append("
案件更新记录:").append("
该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); + } // 2.修改检材 信息 // 这里之所以要取未更新前的信息是为了留痕 Map oldInfoMap = entrustmentIdentificationMaterialService.list(Wrappers.lambdaQuery()