|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|