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 8b257a3..d9af575 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 @@ -160,7 +160,7 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl entrustAlterAppliesVOS = baseMapper.getEntrustAlterApplyVOList(Wrappers.query().in("eaa.id",ids)); DLPUser user = SecurityUtils.getUser(); entrustAlterAppliesVOS.forEach(e -> { - if (e.getApplicant().equals(user.getId())) { + if (!e.getApplicant().equals(user.getId())) { throw new ValidateCodeException("请勿修改其他人的申请信息!"); } if (e.getStatus().equals(EntrustAlterApplyStatus.WAIT_SUBMIT_APPLY.getStatus())) { @@ -207,8 +207,8 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpllambdaUpdate().eq(CaseEvent::getId, entrustment.getCaseId()).set(CaseEvent::getCaseBrief, dto.getCaseBrief())); - // 添加更新记录 | - 代表换行 - updateRecordBuilder.append("操作记录:").append("-该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); + // 添加更新记录 |
代表换行 + updateRecordBuilder.append("操作记录:").append("
该委托案件的案件简要由 [").append(oldCaseInfo.getCaseBrief()).append("] 更改为 [").append(dto.getCaseBrief()).append("] 。"); // 2.修改检材 信息 // 这里之所以要取未更新前的信息是为了留痕 Map oldInfoMap = entrustmentIdentificationMaterialService.list(Wrappers.lambdaQuery() @@ -236,10 +236,10 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl检材信息的更新记录:"); } updateRecordBuilder - .append("-") + .append("
") .append(index++) .append(".原检材编号为 [") .append(oldMaterial.getImNo()) @@ -352,7 +352,7 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl resultList = new ArrayList<>(); for (EntrustmentIdentificationMaterial identificationMaterial : materialList) { // 检查委托原来的状态 @@ -748,8 +749,9 @@ public class EntrustmentIdentificationMaterialServiceImpl extends ServiceImpl