Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
vietnguyen committed Oct 4, 2024
1 parent 0b0ebe1 commit 35b23f1
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,12 @@ public DataValue getSoftDeletedDataValue(DataValue dataValue) {
dataValue.setPeriod(storedPeriod);

String sql =
"""
select * from datavalue where dataelementid = :deid
and periodid = :periodid
and attributeoptioncomboid = :attributeOptionCombo
and categoryoptioncomboid = :categoryOptionCombo
and sourceid = :sourceid
and deleted is true""";
"select * from datavalue where dataelementid = :deid\n"
+ "and periodid = :periodid\n"
+ "and attributeoptioncomboid = :attributeOptionCombo\n"
+ "and categoryoptioncomboid = :categoryOptionCombo\n"
+ "and sourceid = :sourceid\n"
+ "and deleted is true";

return getSingleResult(
getSession()
Expand Down

0 comments on commit 35b23f1

Please sign in to comment.