public Integer findOrCreate(BillingProcessDTO dto) { billingProcess = billingProcessDas.isPresent( dto.getEntity().getId(), dto.getIsReview(), dto.getBillingDate()); if (billingProcess == null) { create(dto); } return billingProcess.getId(); }