Deleted Documents

This commit is contained in:
rajesh
2024-11-26 17:07:25 +05:30
parent 882905ca51
commit 202e9604a8
5 changed files with 152 additions and 17 deletions

View File

@@ -255,6 +255,7 @@ public class DelegationDao {
throw new ResourceNotFoundException(Status.NOT_FOUND,
Translator.toLocale(GepafinConstant.DELEGATION_NOT_FOUND));
}
amazonS3Service.deleteDelegationfromS3(userCompanyDelegationEntity);
userCompanyDelegationEntity.setStatus(UserCompanyDelegationStatusEnum.INACTIVE.getValue());
userCompanyDelegationRepository.save(userCompanyDelegationEntity);
}