Commit 3235a0d5 authored by Deep Dey's avatar Deep Dey

chore: make form-preview in ascending order

parent 4e0d6c3a
...@@ -201,7 +201,7 @@ public class AdmissionFormDataRepository { ...@@ -201,7 +201,7 @@ public class AdmissionFormDataRepository {
parameters.addValue("correspondenceEmail", correspondenceEmail); parameters.addValue("correspondenceEmail", correspondenceEmail);
} }
sql.append(" ORDER BY afd.id DESC"); sql.append(" ORDER BY afd.id ASC");
return namedParameterJdbcTemplate return namedParameterJdbcTemplate
.query(sql.toString(), parameters, new AdmissionFormPreviewMapper()); .query(sql.toString(), parameters, new AdmissionFormPreviewMapper());
......
Markdown is supported
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