Implemented crud operation for form,form-field and form-template

This commit is contained in:
rajesh
2024-08-28 15:21:54 +05:30
parent 049b53ac46
commit d1bcc36c41
36 changed files with 1235 additions and 1 deletions

View File

@@ -366,6 +366,13 @@ public class CallDao {
return createCallResponseBean;
}
public CallEntity getCallEntityById(Long id){
CallEntity callEntity=callRepository.findByIdAndStatusNotIn(id,List.of(CallTypeEnum.PUBLISH.getValue()));
if(callEntity==null){
throw new ResourceNotFoundException(Status.NOT_FOUND, Translator.toLocale(GepafinConstant.CALL_NOT_FOUND));
}
return callEntity;
}
}