Merge pull request #136 from Kitzanos/update-evaluation-amendment-changes
Fixed null check issue
This commit is contained in:
@@ -171,8 +171,10 @@ public class ApplicationEvaluationDao {
|
|||||||
|
|
||||||
amendmentDocumentResponseBean.setFileDetail(documentResponseBeans);
|
amendmentDocumentResponseBean.setFileDetail(documentResponseBeans);
|
||||||
}
|
}
|
||||||
|
amendmentDocumentResponseBean.setFieldId("amend_" + applicationAmendmentRequestEntity.getId());
|
||||||
amendmentDocumentResponseBean.setLabel(amendmentDetails.getAmendmentNotes());
|
amendmentDocumentResponseBean.setLabel(amendmentDetails.getAmendmentNotes());
|
||||||
amendmentDocumentResponseBean.setValid(amendmentDetails.getValid());
|
amendmentDocumentResponseBean.setValid(amendmentDetails.getValid());
|
||||||
|
amendmentDocumentResponseBeans.add(amendmentDocumentResponseBean);
|
||||||
}
|
}
|
||||||
List<AmendmentFormField> amendmentFormFields = Utils.convertJsonStringToList(formField, AmendmentFormField.class);
|
List<AmendmentFormField> amendmentFormFields = Utils.convertJsonStringToList(formField, AmendmentFormField.class);
|
||||||
if (amendmentFormFields != null) {
|
if (amendmentFormFields != null) {
|
||||||
@@ -197,8 +199,6 @@ public class ApplicationEvaluationDao {
|
|||||||
amendmentDocumentResponseBeans.add(formFieldResponseBean);
|
amendmentDocumentResponseBeans.add(formFieldResponseBean);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
amendmentDocumentResponseBeans.add(amendmentDocumentResponseBean);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
response.setAmendmentDetails(amendmentDocumentResponseBeans);
|
response.setAmendmentDetails(amendmentDocumentResponseBeans);
|
||||||
|
|||||||
Reference in New Issue
Block a user