|
|
@ -207,8 +207,8 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl<EntrustAlterApplyM |
|
|
|
String entrustmentId = entrustment.getId(); |
|
|
|
String entrustmentId = entrustment.getId(); |
|
|
|
CaseEvent oldCaseInfo = caseEventService.getById(entrustment.getCaseId()); |
|
|
|
CaseEvent oldCaseInfo = caseEventService.getById(entrustment.getCaseId()); |
|
|
|
caseEventService.update(Wrappers.<CaseEvent>lambdaUpdate().eq(CaseEvent::getId, entrustment.getCaseId()).set(CaseEvent::getCaseBrief, dto.getCaseBrief())); |
|
|
|
caseEventService.update(Wrappers.<CaseEvent>lambdaUpdate().eq(CaseEvent::getId, entrustment.getCaseId()).set(CaseEvent::getCaseBrief, dto.getCaseBrief())); |
|
|
|
// 添加更新记录
|
|
|
|
// 添加更新记录 | - 代表换行
|
|
|
|
updateRecordBuilder.append("操作记录:\\n").append("该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); |
|
|
|
updateRecordBuilder.append("操作记录:").append("-该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); |
|
|
|
// 2.修改检材 信息
|
|
|
|
// 2.修改检材 信息
|
|
|
|
// 这里之所以要取未更新前的信息是为了留痕
|
|
|
|
// 这里之所以要取未更新前的信息是为了留痕
|
|
|
|
Map<String, EntrustmentIdentificationMaterial> oldInfoMap = entrustmentIdentificationMaterialService.list(Wrappers.<EntrustmentIdentificationMaterial>lambdaQuery() |
|
|
|
Map<String, EntrustmentIdentificationMaterial> oldInfoMap = entrustmentIdentificationMaterialService.list(Wrappers.<EntrustmentIdentificationMaterial>lambdaQuery() |
|
|
@ -236,10 +236,10 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl<EntrustAlterApplyM |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
if (index == 1) { |
|
|
|
if (index == 1) { |
|
|
|
updateRecordBuilder.append("检材信息的更新记录:"); |
|
|
|
updateRecordBuilder.append("-检材信息的更新记录:"); |
|
|
|
} |
|
|
|
} |
|
|
|
updateRecordBuilder |
|
|
|
updateRecordBuilder |
|
|
|
.append("\\n") |
|
|
|
.append("-") |
|
|
|
.append(index++) |
|
|
|
.append(index++) |
|
|
|
.append(".原检材编号为 [") |
|
|
|
.append(".原检材编号为 [") |
|
|
|
.append(oldMaterial.getImNo()) |
|
|
|
.append(oldMaterial.getImNo()) |
|
|
|