From 7d95e6624065dfa03ce7f3770079401115b1c13d Mon Sep 17 00:00:00 2001 From: JiilingLee <462362@qq.com> Date: Fri, 3 Nov 2023 14:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E6=A1=A3=E6=A1=88=E3=80=81?= =?UTF-8?q?=E5=90=88=E5=90=8C=E6=A1=A3=E6=A1=88=E3=80=81=E5=AE=A2=E8=AF=89?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E3=80=81=E5=92=A8=E8=AF=A2=20=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E5=BD=92=E6=A1=A3=E6=97=B6=EF=BC=8C=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../archives/service/record/RecordServiceImpl.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/service/record/RecordServiceImpl.java b/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/service/record/RecordServiceImpl.java index a9268d9e..c4f2580f 100644 --- a/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/service/record/RecordServiceImpl.java +++ b/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/service/record/RecordServiceImpl.java @@ -275,6 +275,10 @@ public class RecordServiceImpl implements RecordService { electronicContractsDO.setId(id); electronicContractsDO.setRecordId(recordId); electronicContractsDO.setFileStatus(AccountingStatusEnum.LOGFILE.getValue()); + //如果已归档设置完整性为完整 + if (electronicContractsDO.getFileStatus().equals(AccountingStatusEnum.LOGFILE.getValue())){ + electronicContractsDO.setCherks(Integer.valueOf(AccountingStatusEnum.COMPLETE.getValue())); + } electronicContractsMapper.updateById(electronicContractsDO); } } @@ -285,6 +289,10 @@ public class RecordServiceImpl implements RecordService { electronicConsultationDO.setId(id); electronicConsultationDO.setRecordId(recordId); electronicConsultationDO.setFileStatus(AccountingStatusEnum.LOGFILE.getValue()); + //如果已归档设置完整性为完整 + if (electronicConsultationDO.getFileStatus().equals(AccountingStatusEnum.LOGFILE.getValue())){ + electronicConsultationDO.setCherks(Integer.valueOf(AccountingStatusEnum.COMPLETE.getValue())); + } electronicConsultationMapper.updateById(electronicConsultationDO); } } @@ -295,6 +303,10 @@ public class RecordServiceImpl implements RecordService { electronicEmployeeDO.setId(id); electronicEmployeeDO.setRecordId(recordId); electronicEmployeeDO.setFileStatus(AccountingStatusEnum.LOGFILE.getValue()); + //如果已归档设置完整性为完整 + if (electronicEmployeeDO.getFileStatus().equals(AccountingStatusEnum.LOGFILE.getValue())){ + electronicEmployeeDO.setCherks(Integer.valueOf(AccountingStatusEnum.COMPLETE.getValue())); + } electronicEmployeeMapper.updateById(electronicEmployeeDO); } }