员工档案、合同档案、客诉档案、咨询 档案归档时,改变完整性

new
JiilingLee 1 year ago
parent 45d52f4c95
commit 7d95e66240

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

Loading…
Cancel
Save