Unverified Commit 44e35138 authored by sarojsingh2021's avatar sarojsingh2021 Committed by GitHub
Browse files

Merge pull request #11 from UPHRH-platform/delete-form

fix-DELETED-STATUS
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -174,7 +174,9 @@ public class ValidationService {
} else if (StringUtils.isNotBlank(form.getStatus())
&& form.getStatus().equalsIgnoreCase(Status.UNPUBLISH.name())) {
form.setStatus(Status.UNPUBLISH.name());
} else {
} else if (StringUtils.isNotBlank(form.getStatus()) && form.getStatus().equalsIgnoreCase(Status.DELETED.name())){
form.setStatus(Status.DELETED.name());
}else {
form.setStatus(Status.PUBLISH.name());
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment